I have this:
var result = "(55.6105023, 12.357556299999942)";
I would like to remove the brackets, and i thought that you could do this with substr (remove the first and last char in the string) <- But i can only manage to remove the last char if i know the length.
And then i would like to put the first number 55.6105023
into variable lat
and the second 12.357556299999942
to variable lng
by using explode() <- but this does not exists in JS
How can i do this?