mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-19 10:58:17 +00:00
15 lines
295 B
Markdown
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')
|
|
```
|