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

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -