TEXTLENGTH Return the number of characters of a text value
Syntax:
TEXTLENGTH(text)
- text: source text.
Return value:
The number of characters of the parameter text.
See Also:
Command History:
Added in ScriptFTP 3.1 build October 1th 2008
Example:
# Prints 12 $count=TEXTLENGTH("whatever 123") PRINT($count) # Prints the file name without the extension $filename="testing.txt" $filename_without_extension=TEXTCUT($filename,1,TEXTLENGTH($filename)-4) PRINT($filename_without_extension)