wstring

Null-terminated wide string.

Instance members

nuint

Counts Unicode scalar values in UTF-16 text.

bool

Returns true when the text ends with a UTF-16 span.

uchar

Gets the Unicode scalar value at a UTF-16 code-unit index.

nuint

Gets the number of UTF-16 code units used by the scalar at an index.

nint
indexOf(...)
overload

Finds the first matching UTF-16 span.

nint
prep wchar[]

Joins UTF-16 strings with an optional separator.

nint

Finds the last matching UTF-16 span.

bool

Returns true when the text starts with a UTF-16 span.

prep achar[]
prep wchar[]

Copies the text to lowercase UTF-16 text.

prep char[]

Converts UTF-16 text to UTF-8 text.

prep wchar[]

Copies the text to uppercase UTF-16 text.

prep wchar[]
scoped const wchar[]

Returns a view with leading and trailing ASCII whitespace removed.

scoped const wchar[]

Returns a view with trailing ASCII whitespace removed.

scoped const wchar[]

Returns a view with leading ASCII whitespace removed.

Generated with campc 0.12.0-preview.1.