static function End($string, $length = 0)
    {    
        self::InitEncoding();
        $pos = max(0, self::Length($string) - $length);
        return self::Part($string, $pos);
    }
static function End($string, $length = 0)
    {    
        self::InitEncoding();
        $pos = max(0, self::Length($string) - $length);
        return self::Part($string, $pos);
    }
static function End ( $ string , $ length = 0 ) { self :: InitEncoding ( ) ; $ pos = max ( 0 , self :: Length ( $ string ) - $ length ) ; return self :: Part ( $ string , $ pos ) ; }
Gets the end part of the string with the given length
@param \string $string
@param int $length
@return \string
Gets the end part of the string with the given length