length | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | len | ||||||
Summary | Returns the number of characters in a string. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: character, characters, integer, string Operator: begins with, ends with Property: number Function: offset, number Glossary: return, non-negative Control Structure: function | ||||||
Description | Use the length function to find out how many characters are in a string, in order to process each character. The length of a string is the number of characters in the string. The expression the length of string is equivalent to
| ||||||
Tags | text processing |