2015-06-10 08:33:07 -0500, Peng Yu:
> For example:
>
> If the input string is a////b///c///d//e, and n=3, the output should be c/d/e.
>
> If n=4, the output should be b/c/d/e.
> If n>=5, the output should be a/b/c/d/e.
[...]
What about for input strings like:
/a/./b/./c
/a/b/../c
//host/file
//?/UNC/server
?
--
Stephane