MID

Previous  Next

 

str = MID( str    AS STRING,

           start  AS INTEGER, 

           nchars AS INTEGER ) AS INTEGER

 


 

Returns a given number of characters from a given position of a string.  Index of first character is 0

 

Example:

 

PRINT "[";MID( "Kalle Anka is nice", 7, 4 );"]",

[Anka]