Will the offset function work? 

put the number of chars in line 1 to 14 of tVar into tCount
put offset(startChar, line 15 of tVar)  + tCount into tStart
put offset(endChar, line 15 of tVar)  + tCount into tEnd


On April 30, 2015 3:07:05 AM CDT, Malte Brill <revolut...@derbrill.de> wrote:
>Hi all,
>
>I need to find the start and end character of chuncks in a variable. If
>we are in a field we can use charIndex for that. However, in a variable
>I have no good idea on how to do something similar to
>
>get charIndex(token 7 of line 15 of field „myField“)
>
>
>Any ideas?
>
>All the best,
>
>Malte
>
>
>_______________________________________________
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode

-- 
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to