Files
kumomta/docs/reference/string/starts_with.md
T
2026-04-29 08:07:13 +01:00

15 lines
295 B
Markdown

# kumo.string.starts_with
```lua
kumo.string.starts_with(STRING, PREFIX)
```
{{since('2026.04.09-ea3b2a9b')}}
Performs a plain string comparison between STRING and PREFIX.
Returns true if STRING starts with PREFIX, otherwise false.
```lua
kumo.string.starts_with('hello world', 'hello')
```