From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript String Object
The length property returns the number of characters in a string.
| stringObject.length |
ExampleReturn the number of characters in a string:
The output of the code above will be:
Try it yourself » |
JavaScript String Object
From http://www.w3schools.com (Copyright Refsnes Data)