len
Number of characters in a string.
Syntax
Section titled “Syntax”v = len(text)Description
Section titled “Description”Returns the number of characters in text. Treats every character as one unit, regardless of byte width. For byte-counting (multi-byte characters counted by their byte length), use lenb.
Example
Section titled “Example”len('hello') % 5