Return a string with {n} replaced with the n-th argument.
The string to format.
Rest
All other arguments are substituted into the string.
The formatted string.
const s = pc.string.format("Hello {0}", "world");console.log(s); // Prints "Hello world" Copy
const s = pc.string.format("Hello {0}", "world");console.log(s); // Prints "Hello world"
Return a string with {n} replaced with the n-th argument.