We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Handles the string as format string and returns the formatted version.
The behaviour is similar to the String.Format() method of the .NET-Framework.
String.prototype.format([...args]);
The formatted string.
// 'MK+TM' var res1 = '{0}+{1}'.format('MK', 'TM'); // '1*2*3=6' var res2 = '{1}*{3}*{0}={2}'.format(3, 1, 6, 2);