Node.js examples for String:String Start
Check if given string starts with pattern.
String.prototype.startsWith = function(str) { return (this.match("^"+str) === str); };