c# - How to replace " " " with space -


i trying replace double quotes space it's not working, says syntax error,

"'asd"asd', 'asdasda"sdsa'"    // string pattern getting "somehow" string b = a.replace(""", " ")); 

you have escape " backslash:

string b = a.replace("\"", " "); 

where string a bla bla " bla " bla bla


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -