Dividing a string into list according to the format given
<p>I have a string like <code>"SAB_bARGS_D"</code> . What I want is that the string gets divided into list of characters but whenever there is a _ sign the next character gets appended to the previous one.</p>

<p>So the answer to above should be <code>['S','A','B_b','A','R','G','S_D']</code></p>

<p>It can be done by using a for loop traversing through the list but is there an inbuilt function that I can use.....</p>

<p>Thanks a lot</p>

<hr>

<p>Update </p>

<p>Hello all</p>

<p>Thanks to <code>Robert Rossney</code>,<code>aaronasterling</code> I got the required answer but I have an exactly similar question that I am going to ask here only...... Lets say that now my string has critaria that it can have a letter or a letter followed by _ and a number..... How can I seperate the string into list now...... The solutions suggested cannot be used now since S_10 would be seperated into S_1 and 0 ...... It would be helpful if someone can tell how to do so using RE.... Thanks a lot.... </p>
