Node.js examples for String:String Start
Using substr method to check string start
String.prototype.startsWith = function( value ) { return ( this.substr( 0, value.length ) == value ) ; }