I’m trying to figure out a way to parse the “$” and “,” out of a dollar amount.
For example, say I have a String that is $5,600. I need to parse it so what I have left is just 5600. Any help is great appreciated.
Thank you,
Kevin
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You use the NumberFormat
numberwill be5600You can specify a locale if you want to target special countries.