0

I have a string of any length. I want a comma to be added after every 3 chars. How Can I do that? For example.

String num = "2000000000"; would become "2,000,000,000"

0 Answers0