mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-06 10:38:56 +00:00
15 lines
271 B
Markdown
15 lines
271 B
Markdown
# kumo.string.ends_with
|
|
|
|
```lua
|
|
kumo.string.ends_with(STRING, SUFFIX)
|
|
```
|
|
|
|
{{since('dev')}}
|
|
|
|
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')
|
|
```
|