static function RemoveExtension($path)
    {
        $ext = self::Extension($path);
        if ($ext)
        {
            $newLength = System\Str::Length($path) - 
                System\Str::Length($ext) - 1; //dot length = 1!

            return System\Str::Start($path, $newLength);
        }
        return $path;
    }
static function RemoveExtension($path)
    {
        $ext = self::Extension($path);
        if ($ext)
        {
            $newLength = System\Str::Length($path) - 
                System\Str::Length($ext) - 1; //dot length = 1!

            return System\Str::Start($path, $newLength);
        }
        return $path;
    }
static function RemoveExtension ( $ path ) { $ ext = self :: Extension ( $ path ) ; if ( $ ext ) { $ newLength = System \ Str :: Length ( $ path ) - System \ Str :: Length ( $ ext ) - 1 ; //dot length = 1! return System \ Str :: Start ( $ path , $ newLength ) ; } return $ path ; }
Removes extension from path.
@param string $path
@return string
Removes extension from path .