How do i get the last part of url after Categoery/?
url: http://localhost:3333/Category/Laptops%2c%20PC%2c%20HardDrives
I've used the following code to get the url, and used it as heading of page
<h2><%: Page.Request.RawUrl.ToString ()%> </h2>
However I get the following result: /Category/Laptops, PC, HardDrives
I want to get following result: Laptops, PC, HardDrives
<%: Page.Request.RawUrl.ToString().Substring(Page.Request.RawUrl.ToString().LastIndexOf("/")+1)%>
` – H.Mikhaeljan May 04 '18 at 08:40