I have this xml node. I want to split the coordinate to latitude and longitude using java.
<MAP>1234:3.12345,119.12345</MAP>
I want to split the coordinate or at least can get the coordinate with this format (lat,long). Thanks all.
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.
Have you tried with regex ?
Then you can deal with latitude and longitude as you wish.