check if a url has anything after the domain name
Posted
by raklos
on Stack Overflow
See other posts from Stack Overflow
or by raklos
Published on 2010-04-14T15:41:07Z
Indexed on
2010/04/14
15:43 UTC
Read the original article
Hit count: 201
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.
© Stack Overflow or respective owner