LEN Function
Returns the numeric value of the length of a string.
Syntax
LEN(char-string)
Syntax elements
char-string A field of characters expressed as a variable or symbol name, a dynamic array reference, or a literal enclosed in quotes.
Operation
LEN returns the numeric value of the length of the string specified by char-string.
Examples
Assigns the value 7 to variable B:
A = "1234ABC" B = LEN(A)
Assigns the value 3 to variable Q:
Q = LEN("123")
Assigns the value 6 (variable Y concatenated to variable X) to variable Z:
X = "123" Y = "ABC" Z = LEN(X:Y)