I'm getting some simple GPS coordinates from a script that output something like this:
To read that I created an item that reads the script output. Below it, there are 2 dependant items, one for latitude and another for longitude.
For each dependant item, I thought of pre-processing that raw value using some regular expressions, but I just can't figure out how to do it.
Any tips?
Code:
-75.93367886,-126.94287288
For each dependant item, I thought of pre-processing that raw value using some regular expressions, but I just can't figure out how to do it.
Any tips?
Comment