string

Null-terminated UTF-8 string.

Instance members

nuint

Counts Unicode scalar values in UTF-8 text.

bool

Returns true when the text ends with a span.

uchar

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

nuint

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

nuint

Returns a content hash code for a string.

nuint

Returns a hash code for case-insensitive string matching.

bool

Returns true when two strings have the same content.

bool

Returns true when two strings have the same content ignoring case.

nint
indexOf(...)
overload

Finds the first matching text span.

nint
prep char[]

Joins UTF-8 strings with an optional separator.

nint

Finds the last matching text span.

bool

Returns true when the text starts with a span.

prep achar[]
prep char[]

Copies the text to lowercase UTF-8 text.

prep char[]

Copies UTF-8 text.

prep char[]

Copies the text to uppercase UTF-8 text.

prep wchar[]

Converts UTF-8 text to UTF-16 text.

scoped const char[]

Returns a view with leading and trailing ASCII whitespace removed.

scoped const char[]

Returns a view with trailing ASCII whitespace removed.

scoped const char[]

Returns a view with leading ASCII whitespace removed.

bool

Parses ISO date text.

Static members

const HashPolicy<string>

Standard case-insensitive string hash policy.

const HashPolicy<string>

Standard case-sensitive string hash policy.

Generated with campc 0.12.0-preview.1.