When I try this.... put "hello there" into tstring put "llo" into tfind put 0 into ss put 0 into se if matchchunk(tstring,tfind,ss,se) then put tstring&return&ss&return&se end if
I expect to get... hello there 3 5 Whereas I get.... hello there The matchchunk expression worked (I got to the put statement) but the variable list was ignored. What am I missing (apart from the start and end variables) James P.S. Posting via the babble interface seems to have a gotcha in that if you do not paste to the sub-forum the post doesn't seem to get to the list. _______________________________________________ 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