Javascript: How to Get Length of a String

Monday, October 17th, 2011

To get length of a string (in characters) using Javascript we can use the length property. Below is an example of how to do it;