Node.js examples for String:sub string
String truncate Start
String.prototype.truncateStart = function k(p, o) { if (p >= this.length) { return this }/*from w ww .ja v a 2s.com*/ if (o === undefined) { o = "..." } return this.substring(o + (p - o.length), p) };