StrLen

Provides the number of characters in a string.

Syntax:

StrLen (string)

Parameters:

(s) string any text string.

Returns:

(i) number of characters in a string.

Example:


myfile = AskLine("Filename", "File to process:", "", 0)
namlen = StrLen(myfile)
If namlen > 13
   Message("Error", "Filename too long!")
EndIf
See Also:

StrCharCount, StrByteCount, StrInsert, StrFill, StrFix, StrIndex, StrIndexNc, StrOverlay, StrScan, StrTrim