View Single Post
Old Nov 20, 2012, 10:09 PM   #5
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,113 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

Quote:
Originally Posted by Maelstrom View Post
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.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote