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.

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

Examples

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

StrValue := "The quick brown fox jumps over the lazy dog"
MsgBox "The length of the string is " StrLen(StrValue) ; Result: 43