$Len
The $Len function determines the current length of the value of a String. The $Len function takes a field name, character literal, or %variable as its one argument.
Examples
- The $Len result in the following statement is 4 if the
STATEfield of the current record containsOHIO:%n = $len(STATE)
- The $Len result in the following statement is 13 if the
%namevariable has a current value ofRichard Smith:%n = $len(%name)