(55.950254, -3.187606)
Now what I need to do is to get rid of the comma in this string and then to take the first part of coordinate "55.950254" and put it in front of the other part "-3.187606". The output should look like this:
(-3.187606 55.950254)
I have managed to get rid of the comma using this command in Perl:
... but im not sure how I could swap the two strings around using perl? If it helps both parts should be exactly 9 characters long.$origin =~ s/,//;
In reply to Swapping two parts of a string by Harch84
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |