Sorry if this questions is stupid but I cant find how to do it.
How to split a string/array with multiple separators?
Borislav Kosharov via Digitalmars-d-learn Wed, 16 Dec 2015 06:21:07 -0800
I want to split a string using multiple separators. In std.array
the split function has a version where it takes a range as a
separator, but it works differently than what I want. Say if I
call it with " -> " it will search for the whole thing together.
I want to pass split a list of separators say [":", ",", ";"] and
if it finds any of those to split it.
- How to split a string/array with... Borislav Kosharov via Digitalmars-d-learn
- Re: How to split a string/a... Dragos Carp via Digitalmars-d-learn
- Re: How to split a stri... Marc Schütz via Digitalmars-d-learn