How to use substring method in jquery?
|Rate this page :||
[ 0 votes]
This substring method is used to extract the characters from string. Jquery substring() method takes two parameters like substring (from, to).From parameter is required which is known as the index where to start the substring. Here the index starts with 0.To parameter is optional which is known as the index where to stop. If it is not passed then rest of the string will be extracted