Files
kumomta/docs/reference/string/starts_with.md
T

15 lines
279 B
Markdown

# kumo.string.starts_with
```lua
kumo.string.starts_with(STRING, PREFIX)
```
{{since('dev')}}
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')
```