Formats a given input string with alphanumeric placeholders.
// returns "Hello World"formatString("{first} {second}", {first:"Hello", second:"World"}); Copy
// returns "Hello World"formatString("{first} {second}", {first:"Hello", second:"World"});
The input string with placeholders.
A hash of parameters to place in the placeholders.
The formatted string.
Formats a given input string with alphanumeric placeholders.
Example