views:

379

answers:

2

I need to remove a bunch of ' from a string that I obtained through an XML document. I'm working with Actionscript 2, so Regex is not an option for me. Even though I'm looking for an Actionscript 2 solution, still reply with an Actionscript 3 answer if you have one for anyone else who might need it.

+1  A: 

Why not a simple string search and replace?

Assaf Lavie
I feel silly for not thinking of that. Thank you.
Anton
A: 

use str_replace

rendy