static function Combine($path1, $path2)
    {
        $trimChars = '/';
        if (PATH_SEPARATOR != $trimChars)
            $trimChars .= PATH_SEPARATOR;
        
        $clean1 = System\Str::TrimRight($path1, $trimChars);
        $clean2 = System\Str::TrimLeft($path2, $trimChars);
        return join('/', array($clean1, $clean2));
    }
static function Combine($path1, $path2)
    {
        $trimChars = '/';
        if (PATH_SEPARATOR != $trimChars)
            $trimChars .= PATH_SEPARATOR;
        
        $clean1 = System\Str::TrimRight($path1, $trimChars);
        $clean2 = System\Str::TrimLeft($path2, $trimChars);
        return join('/', array($clean1, $clean2));
    }
static function Combine ( $ path1 , $ path2 ) { $ trimChars = '/' ; if ( PATH_SEPARATOR != $ trimChars ) $ trimChars .= PATH_SEPARATOR ; $ clean1 = System \ Str :: TrimRight ( $ path1 , $ trimChars ) ; $ clean2 = System \ Str :: TrimLeft ( $ path2 , $ trimChars ) ; return join ( '/' , array ( $ clean1 , $ clean2 ) ) ; }
Combines the paths.
@param string $path1
@param string $path2
@return string
Combines the paths .