escape-single-quote-character-for-use-in-an-sqlite-query

String mystring = "Sample's";
String myfinalstring = mystring.replace("'","''");

Comments

Popular posts from this blog

Your app currently targets API level 27 and must target at least API level 28 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 28

ionic project creation

change root user in ubuntu