[thelist] Replace " ' " with " \' " in actionscript???
Scott Blanchard
octigonuser at hotmail.com
Thu Oct 30 18:51:10 CST 2003
Trying to pass a string from flash to javascript errors out when the string
contains apostrophes. Is there a built in function that allows one to
replace or escape problematic characters?
ie,
str = "Bob'e Bikes are great!"
str = str.replace("'", "\'")
does not work, why?
_________________________________________________________________
Enjoy MSN 8 patented spam control and more with MSN 8 Dial-up Internet
Service. Try it FREE for one month! http://join.msn.com/?page=dept/dialup
More information about the thelist
mailing list