Split a character string based on change of character: Difference between revisions

Content added Content deleted
(Added Ruby)
(promoted draft-task to a task.)
Line 1: Line 1:
[[Category: String manipulation]]
[[Category: String manipulation]]
[[Category:Simple]]
[[Category:Simple]]
{{draft task}}
{{task}}
<!-- this problem is also known as "splitsville" elsewhere. !-->
<!-- this problem is also known as "splitsville" elsewhere. !-->
<!-- I imagine this Rosetta Code task will lead to quite a few code-golf solutions. !-->
<!-- I imagine this Rosetta Code task will lead to quite a few code-golf solutions. !-->