title: Javascript split once at first occurrence of a number
body: <p>I have a variable that I need to split once at first occurrence of a number resulting in alpha and numeric components.</p>
  
  <p>case #1</p>
  
  <pre><code>var str = "S44.5";
  I need the output to be "S" and "44.5"
  </code></pre>
  
  <p>case #2</p>
  
  <pre><code>var str = "44.5";
  I need the output to be "" and "44.5"
  </code></pre>
  
  <p>How can I do this with Javascript? Please help!</p>
  
  <p>Jane</p>