string.startsWith

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

Returns true when the text starts with a span.

const char[]
this
overload const char[]
match

Prefix to test.

bool
caseInsensitive = false

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

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

Returns true when the text starts with a scalar value.

const char[]
this
overload uchar
match

Prefix scalar to test.

bool
caseInsensitive = false

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

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