# PublicEntryPoints module
{: .no_toc }

Holds **StringFormat**, the main entry point of the package.

**PublicEntryPoints** is a standard module with one function, [**StringFormat**](/tB/Packages/Contributed/Fmt/PublicEntryPoints/StringFormat.md). Its **ParamArray** takes the values to format as arguments. It copies them into an array and passes them to [**StringHelper**](/tB/Packages/Contributed/Fmt/StringHelper.md), which does the work. A project that references the package calls it by name or as `PublicEntryPoints.StringFormat`.

```tb check_build check_run
Debug.Print StringFormat("I'm eating a very nice {0} {1}", "Bramleys", 3.142)  ' I'm eating a very nice Bramleys 3.142
Debug.Print PublicEntryPoints.StringFormat("{0,-6}|{1,6}|", "ab", "cd")        ' ab    |    cd|
```

## Functions

- [StringFormat](/tB/Packages/Contributed/Fmt/PublicEntryPoints/StringFormat.md) -- builds a string from a format string and a list of values

## See Also

- [FormerStringFormat](/tB/Packages/Contributed/Fmt/FormerEntryPoint/FormerStringFormat.md) function -- the earlier implementation
- [StringHelper](/tB/Packages/Contributed/Fmt/StringHelper.md) class -- takes the values as an array
- [Fmt package](/tB/Packages/Contributed/Fmt/index.md) -- overview, with the syntax of format items
