private static function removeLastSeparator($sUrl)
    {
        $cLastChar = substr($sUrl, -1);
        if (in_array($cLastChar, RouteCollection::getSeparator())) {
            $sUrl = substr($sUrl, 0, -1);
        }
        return $sUrl;
    }
private static function removeLastSeparator($sUrl)
    {
        $cLastChar = substr($sUrl, -1);
        if (in_array($cLastChar, RouteCollection::getSeparator())) {
            $sUrl = substr($sUrl, 0, -1);
        }
        return $sUrl;
    }
private static function removeLastSeparator ( $ sUrl ) { $ cLastChar = substr ( $ sUrl , - 1 ) ; if ( in_array ( $ cLastChar , RouteCollection :: getSeparator ( ) ) ) { $ sUrl = substr ( $ sUrl , 0 , - 1 ) ; } return $ sUrl ; }
Remove last separtor in URL.

@since   1.0
@param   string $sUrl Current URL.
@return  string $Url without last separator.
Remove last separtor in URL .