public static function removeSuffix(
        /*# string */ $string,
        /*# string */ $suffix
    )/*# string */ {
        if (static::hasSuffix($string, $suffix)) {
            return substr($string, 0, - strlen($suffix));
        }
        return $string;
    }