Best I could do is: *on* mouseUp
*local* tVar, tStart, tEnd *put* fld "fData" into tVar *get* matchChunk(tVar, "(" & word 8 of tVar & ")", tStart, tEnd) *answer* tStart & comma && tEnd *end* mouseUp On Thu, Apr 30, 2015 at 4:07 AM, 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 _______________________________________________ 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