ends_with(s: utf8, suffix: utf8) → bool
Category: [strings](builtinsstrings)_
Whether a string ends with a suffix.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| s | utf8 | The string to test. | — |
| suffix | utf8 | The suffix to look for. | — |
| returns | bool | true if the string ends with the suffix. | — |
wcl
ends_with("hello", "lo") // does it end with this suffix? → true