Strings.after_last.go: def of bend-lint-api@0.2.0.0 Import: import bend-lint-api@0.2.0.0/shared/strings.bend as Strings Lines 70-75 of bend-lint-api@0.2.0.0/shared/strings.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-api@0.2.0.0/shared/strings.bend&start_line=70&end_line=75 import Base def after_last.go(s: String, +sep: Char, seg: String) -> String: match s: case SNil{}: String.reverse(seg) case SCon{+c, rest}: after_last.go(rest, sep, Bool.pick(String, Char.is_eq(c, sep), "", SCon{c, seg})) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.reverse