edits help

Jay Ashworth jra at baylink.com
Thu May 26 09:12:32 PDT 2011


----- Original Message -----
> From: "Linda Gray" <lc_gray at yahoo.com>

> I need to convert the ' to &#39; or %27 using an edit.
> 
> I'm not good at defining edits and sure would appreciate some help.
> 
> I need to replace the ' with it's HTML equivalent before writing out
> ajax script that uses ' for strings and have names with ' in them.

So you need to URLescape an ASCII string; that's your end goal?

My snap reaction is "you don't want to do that with an edit, because you
can't guarantee how many characters you'll have to replace, and you'll run
out of space".  You *probably* want to write code to do that, as difficult
as it is to handle functions in filePro.

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com         2000 Land Rover DII
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274


More information about the Filepro-list mailing list