2013/7/26 Mark Wieder <mwie...@ahsoftware.net>
> get matchChunk(pString,"(\(.*\)).*",tstart,tEnd) > > but even that will fail when you have multiple parentheses in strings > like this: > > "hello (bucko) this (is) a test" > But this one will work and match the first occurence: if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage _______________________________________________ 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