Android: String replace("<\" , "<") returns error -


i need replace <\ symbols < in html string retrieved using json. apparently, string correcttext = text.replace("<\" , "<"); cannot performed because first expression recognized exit statement instead of char sequence. how can this?

try this:

string correcttext = text.replace("<\\" , "<"); 

Comments

Popular posts from this blog

google app engine - 403 Forbidden POST - Flask WTForms -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -