AdminPageFramework_Utility_String::getSuffixRemoved PHP Метод

getSuffixRemoved() публичный статический Метод

public static getSuffixRemoved ( $sString, $sSuffix )
    public static function getSuffixRemoved($sString, $sSuffix)
    {
        return self::hasSuffix($sSuffix, $sString) ? substr($sString, 0, strlen($sSuffix) * -1) : $sString;
    }