N nqkgskgmgr New Member Sep 16, 2012 #1 how could I remove the trailing slashes and dots from a non root-relative path. For instance, \[code\]../../../somefile/here/\[/code\] (independently on how deep it is) so I just get \[code\]/somefile/here/\[/code\]
how could I remove the trailing slashes and dots from a non root-relative path. For instance, \[code\]../../../somefile/here/\[/code\] (independently on how deep it is) so I just get \[code\]/somefile/here/\[/code\]