Split a string into 2 parts using js : <p>I have string:</p>

<pre><code>str= "less than some value";
</code></pre>

<p>I want to get "less than" separated from "some value", something like:</p>

<pre><code>var a = "less than";
var b ="some value";
</code></pre>

<p>how can i do this?
Thanks!</p>
