need to add slashes

Kenneth Brody kenbrody at bestweb.net
Thu May 25 17:49:38 PDT 2006


Quoting Richard D. Williams (Thu, 25 May 2006 18:08:29 -0500):

> I need to know the correct syntax to write an edit to add and or strip
> slashes in front of an apostrophe.
>
> i.e. Mr. Dunn's ----> Mr. Dunn\'s
> i.e. Mr. Dunn\'s ---> Mr. Dunn's
>
> php has a great command for it, but I can't seem to filepro to allow me
> to write an edit to do this function.

To add backslashes before apostrophes:

    { {!" "!}@ | <"\">"'" | * }

To remove them:

    { !"\"!"'" | * }

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list