edits help
Jeff Harrison
jeffaharrison at yahoo.com
Thu May 26 20:07:56 PDT 2011
----- Original Message ----
> From: Kenneth Brody <kenbrody at spamcop.net>
> To: Jeff Harrison <jeffaharrison at yahoo.com>
> Cc: filepro-list at lists.celestial.com
> Sent: Thu, May 26, 2011 7:58:44 PM
> Subject: Re: edits help
>
[snip]
> >>
> >> { @ | (!"'"!<&39;>) | * }
> >>
> >> Of course, you still may need to pass the original string through
>TOHTML()
> >> first, to take care of the other characters. (Or extend the above edit
to
> >> handle the other characters as well.)
> >
> > Great stuff. I have got to remember the @
>
> Pop quiz time. I hope everyone has been keeping good notes...
>
> Why does the above edit fail on fields with an apostrophe, if the "@" part
> is left off?
>
Good question. I never understood this - that is probably why I can't remember
to use the @. Is it because filepro is examining the original string before any
replacement took place? The end resulting string is larger but filepro needs to
know that when it comes to the end of the original string that it is ok to
continue?
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport
More information about the Filepro-list
mailing list