check if a url has anything after the domain name
- by raklos
im using asp.net c#.
I want to check if the current url has anything after the domain name.
e.g for the if the current url
www.example.com/
or
www.example.com
i want to set a bool to true.
if it has anything after i want to set it to false. e.g.
www.example.com/stuff
should return false.