How to extract characters from the middle of a string?

J. Landman Gay jacque at hyperactivesw.com
Wed Jul 7 17:12:15 CDT 2004


On 7/7/04 4:37 PM, Marian Petrides wrote:

> If I have a string containing 25 characters, how do I extract the eight 
> characters starting at position 5 in the string?
> 
> [In BASIC this would be left$(5,8)  or some such.]
> 
> This should be a simple thing to do but I can't figure it out and can't 
> figure out which dictionary item applies.

get char 5 to 12 of myString

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list