string.prototype.format
v1.0.0
Published
Format a string using C#'s format method.
Downloads
533
Readme
string.prototype.format
Using string.prototype.format
you'll be able to use a method within' the String's prototype to format the string. For example
'{0} {1}!'.format('Hello', 'World')
Which would result in Hello World!
.
The code has been posted on StackOverflow available here.