Dave,

How about a little shorter version:

  replace "(*)" & cr with cr in field x
  if char -1 of field x is cr then delete char -1 of field x

-- of course, this is only if one wants to remove a trailing cr...

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Dave Cragg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 3:12 PM
Subject: Re: Strip


> 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
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to