LEFT

Previous  Next

 

str = LEFT( str    AS STRING,

            nchars AS INTEGER ) AS STRING

 


 

Returns a given number of characters from the left of a string

 

Example:

 

IF LEFT( "Kalle Anka", 5) = "Kalle" THEN

  PRINT "Kalle was here !",

ENDIF