Separate characters and numbers from a string
<p>I have a string variable that contain character and numbers like this </p>

<pre><code>var sampleString = "aaa1211"
</code></pre>

<p>Note that variable always start with a <code>character/s</code> and end with <code>number/s</code>. Character and number size is not fixed. It could be something like followings </p>

<pre><code>var sampleString = "aaaaa12111"
var sampleString = "aaa12111"
</code></pre>

<p>I need to separate the characters and numbers and assign them into separate variables.</p>

<p>How could I do that ? </p>

<p>I try to use split and substring but for this scenario I couldn't apply those. I know this is a basic question but i'm search over the internet and I was unable to find an answer. </p>

<p>Thank you</p>