Hi I am importing some text, which appears to have apostrophes at various points in the text file. Investigation shows that some of these characters evaluate to "'"and others to "\'92" I would like to change them all to char(39) but this expression does not work
Repeat RECEIVE PACKET($importref;$receiveVar;Char(10)) $oldString:="\\'92" $newString:="'" $ReceiveVar:=Replace string($ReceiveVar;$oldString;$NewString) APPEND TO ARRAY(ImportArray;$receiveVar) Until (OK=0) double \\ to escape the single \ any ideas how I can make this work? thanks -pm ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

