How do I manipulate Website address to remove sub-domain if there is one?
For example change en.Wikipedia.org
to
Wikipedia.org
I know I can use
Dim domain As String = Url.Items(i).Split("/"c)(2)
to modify a website address to just show domain
but I'd rather sub-domains didn't show up either.
So Google.com
rather than mail.Google.com
For example change en.Wikipedia.org
to
Wikipedia.org
I know I can use
Dim domain As String = Url.Items(i).Split("/"c)(2)
to modify a website address to just show domain
but I'd rather sub-domains didn't show up either.
So Google.com
rather than mail.Google.com