Skip to content
ddunsmuir edited this page Sep 9, 2014 · 2 revisions

string-suffix-ci? returns true if the str ends with the pattern and false otherwise. This is a case insensitive version of string-suffix?.

Parameter Description
pattern The suffix string to look for at the end of str
str Input string

Example

Example 1: Checking if a string ends with a suffix, case insensitive.

> (define mystr "spo2_median")
> (string-suffix? MEDIAN" mystr)
#t
Clone this wiki locally