I JUST had this problem.  I fixed it by URL encoding my data.

So when I send it:

encode(yourstring)

Then whenever it comes back from the Database:

decode( your string )


Alan






On Aug 23, 2008, at 5:42 PM, Andrew Wetmore wrote:


I understand that. But the recommended method is not working. I am trying to do a find and replace of all apostrophes:

var myPattern:RegExp = new RegExp("''", "g");
var titleVar:String = noteTitleFLD.text;
 titleVar = titleVar.replace(myPattern, "'");

but it is not working

Jeez, it's hard to read all those ' thingies...

--
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324



Reply via email to