Product Site

5.4.11.14. caselessStartsWith

Returns .true if the characters of the other match the characters at the start of the target buffer. Returns .false if the characters are not a match, or if other is the null string. The match is made using caseless comparisons.

The caselessStartsWith method is useful for efficient string parsing as it does not require new string objects be extracted from the target buffer.

See also methods startsWith, caselessEndsWith, and caselessMatch.