string-suffix-p

string-suffix-p is a compiled Lisp function in `subr.el'.

(string-suffix-p SUFFIX STRING &optional IGNORE-CASE)

Return non-nil if SUFFIX is a suffix of STRING.
If IGNORE-CASE is non-nil, the comparison is done without paying
attention to case differences.