Java string inside string to string -


I have this string: "blah \ 'blah blah \" " And the string is. How can I convert it to: Blah Blah Blah ? (You see, the strings are ignoring.) This is because I get a SQL query where:

  WHERE blah = "blah \ blah \ blah"  

When I parse it, then I get the string above (still quotes and ran inside.) How do I remove, to avoid string? Or is it a very easy way to do this? Thanks, Isaac

Do not do that.

Follow the appropriate steps for the parametization of a query on your database / platform, and you will not have to save anything, you will save yourself from injection vulnerabilities.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -