Returns the number of characters (the length) of a string.
Syntax
LENGTH(String)
Input
String | is a string |
Domain type: | any Class or ID domain, or system domain String |
Output
LENGTH returns: | an integer value |
Domain type: | system domain Value |
Note:
When the input string is undefined, the output will also be undefined.
Tip:
When the definition symbol = is used, a dependent output column is created; when the assignment symbol := is used, the dependency link is immediately broken after the output column has been calculated.
Usable in
Examples
Pocket line calculator examples:
? LENGTH("Landuse") |
returns 7 |
? LENGTH("Industrial") | returns 10 |
TabCalc example:
OutCol = LENGTH(InCol)
InCol |
OutCol |
Institutional |
13 |
Commercial |
9 |
Residential |
11 |
? |
? |
Industrial |
10 |
Recreational |
12 |
Transport |
9 |
Airport |
7 |
Water |
5 |
See also:
STRGE |