public static startsWithIgnoreCaseAt(text as String, token as String, start as Long) as Boolean
Zero-allocation ASCII case-insensitive prefix check at start inside text.
| Parameter | Description |
|---|---|
text | Source text to inspect. |
token | Prefix to match case-insensitively. |
start | Zero-based index in text. |
true when text matches token at start ignoring ASCII case.
import klyn.code
assert CodeTokenizer.startsWithIgnoreCaseAt("REM comment", "rem", 0)