Construct from D string
Construct from zero-terminated C string (ASCII or UTF8)
Construct from zero-terminated UTF-16 LE string
Construct from an InputStream
Range interface that iterates the string by Unicode code point (dchar), i.e., foreach(dchar c; str.decode)
Underlying array of characters
GC-free UTF-8 string type based on dlib.container.array. Stores up to 128 bytes without dynamic memory allocation, so short strings are processed very fast. String is always zero-terminated and directly compatible with C.