Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. I have an csv file named barcode, i have successfully imported that into my sqlite db but the problem is while importing the values are inserted with special characters like what we have in csv file.
  2.  
  3. EAN_CODE ITEM
  4. 8.90103E+12 100047253
  5. 8.90103E+12 100047253
  6. 8.90103E+12 100047253
  7.  
  8. String[] str = line.split(",");
  9.  
  10. arrayList_stock2.add(new
  11. MasterDataModel2(str[0].replaceAll(""", ""),
  12. str[1].replaceAll(""","")));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement