Description:
Returns the number of characters in the string or (if the
str parameter isn't of the
String type) the number of bytes required to store a variable.
In the PROMOTIC system it is better to use the Pm.StringLen method.
Syntax:
Long Len(String str)
Parameters:
str | (String) Any valid expression. |
---|
Example:
VBScriptSelect and copy to clipboard
Dim n
n = Len("VBScript")
' n contains 8