in reply to Re: Split a string based on change of characterin thread Split a string based on change of character
<Zoffix> eval: $_='zyxxaabbbcccccc'; push @a, $1 while s/((.)\2*)//;[@
<_ZofBot> Zoffix: ['z','y','xx','aa','bbb','cccccc']
20070730 Janitored by Corion: Added code tags, as per Writeup Formatting Tips
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (521 votes). Check out past polls.