StrLen

Retrieves the count of how many characters are in a string.

Length := StrLen(String)

Parameters

String

Type: String

The string whose contents will be measured.

Return Value

Type: Integer

This function returns the length of the specified string.

Related

InStr, SubStr, Trim, StrLower, StrUpper, StrPut, StrGet, StrReplace, StrSplit

Examples

#1

InputVar := "The Quick Brown Fox Jumps Over the Lazy Dog"
MsgBox "The length of InputVar is " StrLen(InputVar) ; Result: 43