mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-19 02:48:18 +00:00
15 lines
287 B
Markdown
15 lines
287 B
Markdown
# kumo.string.ends_with
|
|
|
|
```lua
|
|
kumo.string.ends_with(STRING, SUFFIX)
|
|
```
|
|
|
|
{{since('2026.04.09-ea3b2a9b')}}
|
|
|
|
Performs a plain string comparison between STRING and SUFFIX.
|
|
Returns true if STRING ends with SUFFIX, otherwise false.
|
|
|
|
```lua
|
|
kumo.string.ends_with('hello world', 'world')
|
|
```
|