string.string.ends_with
Declaration
lua
string.ends_with(text, suffix)
Description
Check if string ends with suffix.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
text | string | Required | — | |
suffix | string | Required | — |
Return Values
| Type | Description |
|---|---|
| boolean |