# I need to replace a \\" with a simple \\ Please Help?

**URL:** <https://forum.kirupa.com/t/i-need-to-replace-a-with-a-simple-please-help/239802>\
**Category:** Uncategorized\
**Created:** [September 26, 2007, 4:23am UTC](https://forum.kirupa.com/t/i-need-to-replace-a-with-a-simple-please-help/239802 "2007-09-26T04:23:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iolas](https://avatars.discourse-cdn.com/v4/letter/i/9de0a6/32.png) [@iolas](https://forum.kirupa.com/u/iolas)\
**Post date:** [September 26, 2007, 4:23am UTC](https://forum.kirupa.com/t/i-need-to-replace-a-with-a-simple-please-help/239802/1 "2007-09-26T04:23:32Z")

</div>

Hi friends, i’m stucked in this code and any help would be appreciated.  
I’ve tried to solve it with this:

string = string.split("%22").join(""");

I need to replace the " representation with a simple "

string = string.split(""").join(???);

The string comes from an XML, wich is loaded into a PHP to be sended into a Flash LoadVars. Then is decoded in Flash (with the string-split sentence shown above) and parsed into a inpot textfield. The result is the complete XML with it’s tags.

It works perfect until i wanted to edit some attributes, wich must be into quotes. After introducing manually the quotes the problem appears, as I can’t get rid of the backslash.

Thx for reading, and for your help
