title: Parsing number from string
body: <p>How do I split selected value, seperate the number from text in jQuery?</p>
  
  <p>Example:</p>
  
  <p><code>myselect</code> contains <code>c4</code></p>
  
  <p>Just get only the number <code>4</code>.</p>
  
  <pre><code>$('select#myselect').selectToUISlider({
        sliderOptions: {
          stop: function(e,ui) {
            var currentValue = $('#myselect').val();
            alert(currentValue);
            var val = currentValue.split('--)
            alert(val);
  
          }
        }
      });
  </code></pre>