Ezsys.text.truncate: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/main.bend as Ezsys Lines 122-124 of ezsys@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=ezsys@0.1.0.0/main.bend&start_line=122&end_line=124 import Base import ezsys@0.1.0.0/src/str.bend as Str # the first `width` code points of the text (txt[:width]) def text.truncate(txt: String, width: Nat) -> String: Str.text.truncate(txt, width) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezsys@0.1.0.0/src/str.bend&name=text.truncate