EN
JavaScript - how to check string length?
5
points
In JavaScript it is possible to check string length in following way.
1. String.prototype.length
property example
var text = 'This is my text...';
console.log(text.length);
Outout:
18