Files
kumomta/docs/reference/string/ends_with.md
T
2026-04-29 08:07:13 +01:00

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')
```