Syntax
       string_length  = len( input_string )
 
 
Syntax:
   
string_length = len( input_string )
   Parameter description:
   
Name Type 
Description 
input_string 
string 
string to retrieve the length from 
   Return value: string_length = length of input string
    Code example:
   
Get the length of the string "Hello" (= 5)
 print len( "Hello" )
Syntax:
   
retstr = mid( instring, startpos, length )
   Parameter description:
   
Name Type 
Description 
instring 
string 
string from which you want to retrieve a substring 
startpos 
integer 
starting position of substring 
length 
integer 
Length of string to be retreaved 
   Return value: new substring (Type string)
    Code example:
   
Display the substring "world" of "Hello world" (Startpos 6 and length 5).
 print mid( "Hello world", 6, 5 )
Syntax:
   
retstr = msgbox( instring , length )
   Parameter description:
   
Name Type 
Description 
instring 
string 
String to retrieve substring from 
length 
integer 
Number of character to retrieve 
   Return value: substring created of  "length" leading characters 
from inputstring.
    Code example:
   
Display the leading 5 character of string "Hello world" (Result "Hello").
 print left( "Hello world" )
Syntax:
   
ret = right( instring , length )
   Parameter description:
   
Name Type 
Description 
instring 
string 
String to retrieve substring from 
length 
integer 
Number of character to retrieve 
   Return value: result string
    Code example:
   
Display the last 5 characters of string "Hello world" (Result "world").
 Print right( "Hello world" )