Substr and explode in JavaScript
<p>I have this:</p>

<pre><code>var result = "(55.6105023, 12.357556299999942)";
</code></pre>

<p>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) &lt;- But i can only manage to remove the last char if i know the length.</p>

<p>And then i would like to put the first number <code>55.6105023</code> into variable <code>lat</code> and the second <code>12.357556299999942</code> to variable <code>lng</code> by using explode() &lt;-  but this does not exists in JS</p>

<p>How can i do this?</p>
