How to get numerical value from String containing digits and characters
<p>Is there any built in method to get which can parse int from string ("23px")?</p>

<p>I know I can use <code>substring</code> and then <code>parseInt</code> but I want to know if there is any other way available to do this.</p>
