VocabularysplittingInputs and outputs| seq | a sequence |
| subseq | a sequence |
| before | a new sequence |
| after | a new sequence |
Word descriptionSplits
seq at the first occurrence of
subseq, and outputs the pieces before and after the split. If
subseq does not occur in
seq, then
before is just
seq and
after is
f.
See alsosplit1-slice,
split1-last,
split1-last-sliceDefinition