Add methods to String See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
format
args
Returns a formatted string, similar to the printf() function in many languages. This simplified version substitutes "%s" with the arguments in order. To escape "%s", use "%%s".
args
Array |
An array or list of arguments for formatting.
The substituted string.