/** * Removes a specified substring or substrings from the end of a string, if found searching case-insensitively, and * returns the new string. * * In case of multiple different substrings to be stripped off, the order of the substrings in the parameter array * does matter. * * @param string|array|map $suffixOrSuffixes The substring or array of substrings to be stripped off. * * @return CUStringObject The stripped string. */ public function stripEndCi($suffixOrSuffixes) { return CUString::stripEndCi($this, $suffixOrSuffixes); }