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

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

Comments

Popular posts from this blog

how to split array as per fixed length, and ionic two dates differences in min,seconds,hours

How to Add Firebase Analytics to Your NativeScript Mobile App