The snippet below will give you the StartWith function for Javascript.
Sample Javascript
String.prototype.startsWith = function(text) { return (this.indexOf(text) === 0); };
All the Code Snippets and Samples you need
The snippet below will give you the StartWith function for Javascript.
String.prototype.startsWith = function(text) { return (this.indexOf(text) === 0); };
You must be logged in to post a comment.
RT @CodeSnippetsNET: StartsWith function for #Javascript http://t.co/fXWABy2AoO #js #programming #css #html #php
RT @CodeSnippetsNET: StartsWith function for #Javascript http://t.co/fXWABy2AoO #js #programming #css #html #php