quickest way to remove text between paranthesis ?

Dar Scott dsc at swcp.com
Tue Mar 22 12:15:05 EST 2005


On Mar 22, 2005, at 9:26 AM, jbv wrote:

> I have a large variable (about 200 lines with 30 items
> in each) and I need to remove parts of some items
> (actually parts between paranthesis)...
> Is there a quick way to do that, with only 1 command
> line for instance ? Using regEx perhaps ?

Yes.  Look at the replaceText() function.

If your parentheses can be nested, this gets a little harder.

Dar

-- 
**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming Services and Software
**********************************************



More information about the use-livecode mailing list