Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Idiom # 259: Split on several separators

See programming-idioms.org:

Code

Runnable Example

Using string manipulation

Alternative, more elegant, approach using String.split_if
Note that this treats multiple neighboring seperators as one, so no empty strings are added in that case.

last changed: 2026-02-20