wstring.startsWith

bool startsWith(const wchar[] this, overload const wchar[] match, bool caseInsensitive = false)

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

const wchar[]
this
overload const wchar[]
match

Prefix to test.

bool
caseInsensitive = false

Uses the UTF-16 helper's case-insensitive comparison.

bool startsWith(const wchar[] this, overload uchar match, bool caseInsensitive = false)

Returns true when the text starts with a scalar value.

const wchar[]
this
overload uchar
match

Prefix scalar to test.

bool
caseInsensitive = false

Uses the UTF-16 helper's case-insensitive comparison.

Generated with campc v0.9.3-preview.1+25e440d1e668df920a8d3889de73cea026e5710c.