mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-09 03:52:13 +00:00
15 lines
279 B
Markdown
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')
|
|
```
|