TypeScript String length
Syntax & Examples


Syntax of String.length

The syntax of String.length property is:

length: number

This length property of String returns the length of a String object.