Languages
[Edit]
EN

JavaScript - how to check string length?

5 points
Created by:
AnnLen
11380

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

Merged questions

  1. JavaScript - how to check string size?
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join