Like ends_with, with ASCII letters matched in either case.
ends_with_nocase :: (s: string, suffix: string) -> bool
Parameters
- s: string
- suffix: string
Returns
- bool
assert(ends_with_nocase("PHOTO.JPG", ".jpg"));Like ends_with, with ASCII letters matched in either case.
ends_with_nocase :: (s: string, suffix: string) -> bool
assert(ends_with_nocase("PHOTO.JPG", ".jpg"));