Find values separated by - in Javascript
<p>If I get two values separated by "-" like:</p>

<pre><code>"first value-second value"
</code></pre>

<p>What's a good way to find both in JS?</p>

<p>Thanks!</p>
