Quote:
Originally Posted by Maelstrom
What you wrote throws an error when compiling. Should be:
Code:
String[] temp = MetaData.latitude.split("°|\'|\"")
The regex stuff does work though (Thanks for showing that Kreij! Didn't know about that):
http://img.techpowerup.org/121120/javatest.png
|
Yeah, that why I said I wasn't sure about the syntax and if it needed to be double backslashed.
I'm also not sure what he plans on doing with the coordinates once they are split out.
He should put them in a float array if he will need to do calculation with them.