The raw string to be formatted.
The template string used for formatting.
Optionalparams: IParamsOptional parameters for customization.
The symbol used in the template to indicate characters to be replaced.
A function or regular expression used to filter characters in the raw string.
A function used to replace characters in the raw string.
The formatted string.
Formats a raw string using a template and optional parameters.