Module str
SourceDescription
Stdlib Str methods — prefix/suffix, search, case, padding, repetition, joining, UTF conversion, trimming, splitting.
Core operations (.len, .bytes, .slice, +, split, contains, trim, format) live on the Str lang-item and its host intrinsics; this module adds the rest directly on :impl Str.
Data Types
Types
Functions
Functions
- str-from-utf16
str-from-utf16— decode a(Vec AnyUInt)of UTF-16 code units to a- str-from-utf8-lossy
str-from-utf8-lossy— decode bytes as UTF-8, replacing invalid sequences