How to extract characters from the middle of a string?

Marian Petrides mpetrides at earthlink.net
Wed Jul 7 17:58:26 EDT 2004


Yes, it should fill the bill perfectly. I figured there was an easy way 
to do it, I just couldn't guess what.
Thanks.

M

On Jul 7, 2004, at 5:42 PM, Scott Rossi wrote:

> Recently, "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.]
>
> Does this do what you want:
>
>   get char 5 to 13 of tString
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -----
> E: scott at tactilemedia.com
> W: http://www.tactilemedia.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list