In this post, we will see how we can remove first character from a string in JQuery. I hope you will like it.
Consider I have a string like below.
Now I need to remove & from my string and the output must be “2014”.
So we can do as follows.
     - var myString= "&2014";  
- myString=myString.substring(1);  
 
 
 
Now myString contains the value of “2014”.
Please see other code snippets here: http://sibeeshpassion.com/category/code-snippets/
Kindest Regards
Sibeesh Venu