Is there a way to use a Linq Statement (take while maybe) to pull out something in a string. Basically I am passing in a Request.Page, so it will be like mydomain.com/Account/Validation/27_Guid.. But I want to pull out JUST the Account/Validation
and remove the /27_Guid. Can I use take while? I know this can be done another way - say with a foreach and doing a sub string etc. I would like to use linq though.
pagePath = "Account/Validation/27_Guid"
Basically I want to pull everything out before the "/27_" which would be: "Account/Validation"
Go to the complete details ...