Returns the length, in characters, of a specified string.
Arguments
Argument |
Description |
Default |
string |
An input string whose size Enrichment will determine. Includes leading and trailing blanks, hexadecimal values, and all other characters in calculating the length of string. |
None |
Results
Result |
Description |
Return |
An integer that represents the length, in characters, of string. |
%%RC |
Always set to 0. |
%%RM |
A null string (''). |
%%RV |
Always set to 0. |
Examples
Function Call |
Return |
LENGTH(' A B C ') |
7 |
LENGTH('$1,234.55 ') |
10 |
LENGTH('Result') |
6 |