splitOnPred

Split a string on a character predicate

Vector!string
splitOnPred
(
in string str
,
bool delegate
(
char
)
pred
)

Parameters

str string

the input string

pred bool delegate
(
char
)

the predicate that returns true to split

Meta