Strip
Dave Cragg
dcragg at lacscentre.co.uk
Wed Jul 10 16:13:01 EDT 2002
At 3:57 pm +0200 10/7/02, Yves Coppé wrote:
>Hi,
>
>I get a problem with filter command
>
>I have a fld with lines.
>some lines end with "(*)"
>
>something like :
>xxx xxxxxx xxx
>xxx xxx (*)
>xxx xxxxxx xxx
>xxx xxxxxx (*)
>xxx xxxxxx xxxX
>
>
>I'd like to strip the "(*)" at the end of the lines
How about:
put cr after field x
replace "(*)" & cr with cr in field x
delete char -1 of field x
Cheers
Dave
More information about the use-livecode
mailing list