Node.js examples for String:Format
Get String pluralize format
if(!String.prototype.pluralize) { String.prototype.pluralize = function(counter, plural) { return counter + ' ' + (counter == 1 ? this : plural || this + 's'); };//from www . j a va 2 s. c o m }