How to extract characters from the middle of a string?

J. Landman Gay jacque at hyperactivesw.com
Wed Jul 7 18:15:23 EDT 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.

By the way, the exact phrase you needed was under "character" in the 
transcript dictionary. Did you look up "character"?

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


More information about the use-livecode mailing list