in reply to Splitting on change

Elegant way to split into sequences of identical chars? includes several options. The one I like best is pKai's refinement.

Caution: Contents may have been coded under pressure.