astring.startsWith

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

Returns true when the text starts with an ASCII span.

Parameters

const achar[]
this
overload const achar[]
match

Prefix to test.

bool
caseInsensitive = false

Uses ASCII case-insensitive comparison.

Generated with campc 0.12.0-preview.1.