Jump to content

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

→‎BQN: also handle repeating blocks
(→‎BQN: add)
(→‎BQN: also handle repeating blocks)
Line 759:
 
=={{header|BQN}}==
<syntaxhighlight lang="bqn">Split ← (¯1+`⊏⊸»⊸≠)⊸⊔
Join ← {∾⟜𝕨⊸∾´𝕩}
 
559

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.