str_ends_with
lib callCapy
function str_ends_with(haystack : string, needle : string) bool
Description
Use str_ends_with to test a string suffix.
Return Values
true when the text ends with the suffix.
Example
Capy
print(str_ends_with("index.capy", ".capy"), "\n")