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

Running Example

Using string manipulation

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

last changed: 2024-07-01