In order no write a track in IGC format I need to transform the string with latitude 41:33,81581 in something like this 413381581 that is without the markings.
I managed to remove the extra characters but if the the latitude ends with a zero (for example 41:33,8158) I have one less character in the final string that I have to add.
Is there any straight forward solution (like using String.format()) that I can use or do I have to hammer down a string parser for this?
Try this: