endsWith[No]Case() (tick_24Global)

int endsWithCase(string string, string str1[, string str2...])

int endsWithNoCase(string string, string str1[, string str2...])

These functions compare a string to a list of strings to see if string ends with any of the strings in the list. If string does not end with any strings, then these functions will return 0, else the functions return 1 or greater. For instance, if string ends with str1, then the functions will return 1, if string ends with str2, then the functions will return 2, etc.

endsWithCase() performs a case-sensitive compare, while endsWithNoCase() performs a case-insensitive compare.

These functions are supported only in CSE HTML Validator v11.0111 and later.