/** * Removes a specified substring or substrings from the end of a string, if found searching case-sensitively, 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 stripEnd($suffixOrSuffixes) { return CUString::stripEnd($this, $suffixOrSuffixes); }