Pete- Thursday, July 25, 2013, 6:52:15 PM, you wrote:
> This appears to work: > get matchChunk(<string>,".*\(.*(\)).*",tstart,tEnd) I think this is closer to what you're looking for 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" -- -Mark Wieder mwie...@ahsoftware.net _______________________________________________ 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