use-revolution digest, Vol 1 #1953 - 18 msgs

Scott Rossi scott at tactilemedia.com
Fri Sep 26 23:35:01 EDT 2003


>> Is there a way to get the itemOffset starting from the end of a text
>> block?
> 
> Scott, would this work for you?
> 
> function endItemOffset jTargetText,jTextBlock
>    return (the number of items of jTextBlock) -
> (itemOffset(jTargetText,jTextBlock) - 1)
> end endItemOffset

It might if the textBlock used a single character delimiter (such as a
comma), but I need to get the next-to-last itemOffset of a chunk.

Thanks for the suggestion though.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list