alireza amini alireza amini - 1 year ago 83
Android Question

Android How to Remove( " )Character from String

I wanted to to Remove ( " ) Character from String

This is my text


I need to Have This Text


I've tryed to use String.Replace

text = text.replace(""","");

and does not work

Also I've Use This Way

text = text.replace("/"","");

But Not Again

Any One Can Help me ?!

Answer Source

Wrong slash. Do it with a backslash:

text = text.replace("\"", "");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download