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 5a97c5766ea04e5412cbfaed4c53658737cd2e4b)