I have this String Array [Burlington Textiles Weaving Plant Generator,Tim,Barr,"1,056.00",Burlington Textiles Corp of America];

How can I Ignore that Amount comma inside the " " .

1 Answer 1


You can use String replace method.

String s2 = s1.replaceAll(",", "");

Above method will replace all commas with a blank value. So your 1,056.00 will become 1056.00 .

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .