/** * Removes all occurrences of a substring from a string, searching case-insensitively, and returns the new string, * optionally reporting the number of removals made. * * @param string $what The searched substring. * @param reference $quantity **OPTIONAL. OUTPUT.** After the method is called with this parameter provided, the * parameter's value, which is of type `int`, indicates the number of removals made. * * @return CUStringObject The resulting string. */ public function removeCi($what, &$quantity = null) { return CUString::removeCi($this, $what, $quantity); }