truncate¶
In std/string.
fn truncate(self, width: Int) : String
At most the first width characters of self:
"hello" | truncate(3) is "hel".
truncate¶In std/string.
fn truncate(self, width: Int) : String
At most the first width characters of self:
"hello" | truncate(3) is "hel".