How do you get the length of a string in jQuery?
You don't need to use jquery.
var myString = 'abc'; var n = myString.length;
n will be 3.