Provides the number of characters in a string.
StrLen (string)
(s) string any text string.
(i) number of characters in a string.
myfile = AskLine("Filename", "File to process:", "", 0) namlen = StrLen(myfile) If namlen > 13 Message("Error", "Filename too long!") EndIf
StrCharCount, StrByteCount, StrInsert, StrFill, StrFix, StrIndex, StrIndexNc, StrOverlay, StrScan, StrTrim