def text.split

ezsys@0.1.0.0 · src/str.bend:172

import ezsys@0.1.0.0/src/str.bend as Str
import Base

172# the pieces between the separators, in order; an empty separator splits
173# nothing
174def text.split(txt: String, +sep: String) -> List<&2, String>:
175  match sep:
176    case SNil{}:
177      [txt]
178    case SCon{sh, st}:
179      text.split.go(txt, 0n, SCon{sh, st})

Uses (3)

Used by (1)