I have a function which saves Android data in sqlite but I have to convert the String data to an Integer.
sqlite
String
Integer
Whenever the S
S
String toBeParsedStr="1234"; int parsedInt=toBeParsedStr!=null&&toBeParsedStr.matches("[0-9]+")?Integer.parseInt(toBeParsedStr):0;