Learning Revolution

Ken Ray kray at sonsothunder.com
Tue Mar 8 12:23:42 EST 2005


> BTW, if you didn't find it before:
> 
> Left(str, numChars) = chars 1 to numChars of str
> Mid(str, firstChar, numChars) = chars firstChar to
> (firstChar+numChars-1) of str
> Right(str, numChars) = chars -numChars to -1 of str
> 
> InStr -> see the "offset" function

One little correction to the above... you need to use "char" instead of
"chars" otherwise you'll get a syntax error.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list