starts_with(s: utf8, prefix: utf8) → bool
Category: [strings](builtinsstrings)_
Whether a string begins with a prefix.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| s | utf8 | The string to test. | — |
| prefix | utf8 | The prefix to look for. | — |
| returns | bool | true if the string starts with the prefix. | — |
wcl
starts_with("hello", "he") // does it begin with this prefix? → true