Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

truncate

String.truncate

(max_codepoints i32)
 => 
String
this String but limited to max_codepoints

if String is longer than max_codepoints '…' is appended
0.095dev (GIT hash 9b90842268531a946c757af94179ae191ec67720)