Vyxapedia

Element - Ġ - Group consecutive

Characters: Ġ


Description

Group consecutive identical items


Overloads

  • lst - group consecutive identical items
  • str - group consecutive identical characters
  • num - group consecutive identical digits

Examples

  • ⟨1|1|1|2|2|2|2|2|2|3|3|3|3|3|4|4|5|5⟩ Ġ = ⟨⟨1|1|1⟩|⟨2|2|2|2|2|2⟩|⟨3|3|3|3|3⟩|⟨4|4⟩|⟨5|5⟩⟩
  • 111222222333334450 Ġ = ⟨⟨1|1|1⟩|⟨2|2|2|2|2|2⟩|⟨3|3|3|3|3⟩|⟨4|4⟩|⟨5|5⟩⟩
  • `Hello, World!` Ġ = ⟨⟨`H`⟩|⟨`e`⟩|⟨`l`|`l`⟩|⟨`o`⟩|⟨`,`⟩|⟨` `⟩|⟨`W`⟩|⟨`o`⟩|⟨`r`⟩|⟨`l`⟩|⟨`d`⟩|⟨`!`⟩⟩
  • `` Ġ = ⟨⟩