Javascript String startsWith(value)
// Extension method startsWith for string object String.prototype.startsWith = function (value) { return this.indexOf(value) != -1; };