/** * Removes a substring from a string and returns the new string. * * @param int $startPos The position of the first character in the substring to be removed. * @param int $length The length of the substring to be removed. * * @return CUStringObject The resulting string. */ public function removeSubstring($startPos, $length) { return CUString::removeSubstring($this, $startPos, $length); }