ends_with(s: utf8, suffix: utf8) → bool

Category: [strings](builtinsstrings)_

Whether a string ends with a suffix.

ParameterTypeDescriptionRemarks
sutf8The string to test.
suffixutf8The suffix to look for.
returnsbooltrue if the string ends with the suffix.
wcl
ends_with("hello", "lo")   // does it end with this suffix? → true