public startsWith(prefix as Char) as Boolean
Tests whether the first Unicode scalar equals the given character.
| Parameter | Description |
|---|---|
prefix | Character to test. |
False for an empty string; otherwise whether the character matches.
assert "Hello".startsWith('H')