ends_with multimethod
Methods
- ends_with(haystack:Str, needle:Str) Source: stdlib.ngs:3408
Check whether a string ends with another string Returns
BoolExample
"abcd".ends_with("cd") # true "ab".ends_with("cdab") # false
"abcd".ends_with("cd") # true "ab".ends_with("cdab") # false