Posted on: 2/22/2015 9:47:52 PM | Views : 600

Hi all,
Is it possible to extract certain parts from a URL for example if i had the following url http://mysite.co.uk/our-drivers/Joe-Bloggs.aspx
is it possible to get just the name e.g Joe Bloggs (even remove the - between the first and surname). so http://mysite.co.uk/our-drivers/Joe-Bloggs.aspx is stripped to just say Joe Bloggs?
if (url.Contains("joe bloggs")) <-------- need to make this dynamic by extracting it from the url. { ddlList.Items.FindByValue("Joe Bloggs").Selected = true; } Hopefully someone can help :)
Thanks
Paul

Go to the complete details ...