JavaScript sprintf()
underscore.string
XRegExp
Slang
string.js
stringview.js - a C-like interface for strings created by MDN
detect-indent - detect the indentation of code
stringify-object - stringify an object/array like JSON.stringify just without all the double-quotes