Formats a given input string with numeric placeholders.
// returns "Hello World"formatString("{0} {1}", ["Hello", "World"]); Copy
// returns "Hello World"formatString("{0} {1}", ["Hello", "World"]);
The input string with placeholders.
An array of strings to place into the placeholders.
The formatted string.
Formats a given input string with numeric placeholders.
Example