$ bower install positional-format.js
"Hello {0}, what\'s {1}?".format("world", "up");
Expected result:
Hello world, what's up?
- http://stackoverflow.com/a/6449623/1449117
- http://stackoverflow.com/a/1685917/1449117
- http://stackoverflow.com/a/4673436/1449117
Positional Format is free software distributed under the terms of the MIT license.