Description: This function returns the length of a text string.
Returns: Numeric
Usage: Script or Steady State
Format: StrLen(String)
Parameters: String { text } { required } { no default: }
Any text expression.
Comments: This function does not return the number of characters in String, but rather, the number of bytes, including 0 (NULL) bytes.
May be done on a stream value, but if the stream is longer than 65,523 characters, the return value will be 65,523.
Examples:
v = StrLen("ABCDEF");
w = StrLen("ABC_DEF");
x = StrLen("ABC DEF");
The values of v, w and x are 6, 7 and 7 respectively.
See Also: