Find Length of a String Using jQuery
Enter Text and Click the Buttons
<textarea rows="5" cols="60"> Paragraph of text with multiple white spaces before and after. </textarea>
Length of string including white-spaces
Length of string after removing beginning and trailing white-spaces
Length of string without white-spaces
If you find this example useful, please give us a like.