string requestString = Request.Url.GetComponents(UriComponents.Path, UriFormat.Unescaped); string[] directories = requestString.Split(new char[] { '/' }); string firstSubDirectory = directories[1]; string secondSubDirectory = directories[2]; //etc...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)