<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:garamond, new york, times, serif;font-size:12pt"><DIV>thanks so much ken, that really helps.<BR></DIV>
<DIV style="FONT-FAMILY: garamond, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: tahoma, new york, times, serif; FONT-SIZE: 10pt"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Kenneth Brody &lt;kenbrody@spamcop.net&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Jeff Harrison &lt;jeffaharrison@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> filepro-list@lists.celestial.com; Linda Gray &lt;lc_gray@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thu, May 26, 2011 1:47:19 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: edits help<BR></FONT><BR>On 5/26/2011 2:26 PM, Jeff Harrison wrote:<BR>&gt; ----- Original Message ----<BR>&gt;<BR>&gt;&gt; From: Linda Gray&lt;<A href="mailto:lc_gray@yahoo.com" ymailto="mailto:lc_gray@yahoo.com">lc_gray@yahoo.com</A>&gt;<BR>[...]<BR>&gt;&gt;&gt; I need to&nbsp; convert the ' to &amp;39; or %27 using an edit.<BR>&gt;&gt;&gt;<BR>[...]<BR>&gt; I would suggest that you NOT use an edit for this as well.&nbsp; I don't think edits<BR>&gt; work very well when you don't know how many of
 the "from" characters may appear<BR>&gt; in the string.<BR>&gt;<BR>&gt; I would suggest doing this in processing - I think what you want to do is<BR>&gt; replace every occurance of chr("39") with "'" that is the "html equivalent".<BR>&gt; (not url escape - I assume that is not your goal)<BR>&gt;<BR>&gt; Does filepro have a "replace" function?&nbsp; I don't see one in 5.0 anyway.&nbsp; Xlate<BR>&gt; seems to work on a character by character basis, so I don't think you can use<BR>&gt; that.&nbsp; I think you will need to write this using mid and instr.<BR>&gt;<BR>&gt; I suppose Ken will now show us how to do this with an edit. :-)<BR><BR>&nbsp; &nbsp; { @ | (!"'"!&lt;&amp;39;&gt;) | * }<BR><BR>Of course, you still may need to pass the original string through TOHTML() <BR>first, to take care of the other characters.&nbsp; (Or extend the above edit to <BR>handle the other characters as well.)<BR><BR>-- <BR>Kenneth
 Brody<BR>_______________________________________________<BR>Filepro-list mailing list<BR><A href="mailto:Filepro-list@lists.celestial.com" ymailto="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</A><BR>Subscribe/Unsubscribe/Subscription Changes<BR>http://mailman.celestial.com/mailman/listinfo/filepro-list<BR></DIV></DIV></div></body></html>