Inserts supplied variable values into a format string.
invalid flags
input string
formatted string
var str = format( 'Hello %s!', 'world' ); // returns 'Hello world!'
var str = format( 'Pi: ~%.2f', 3.141592653589793 ); // returns 'Pi: ~3.14'
Inserts supplied variable values into a format string.
invalid flags