| Advertisement |
Thursday, November 30, 2006
| Popular WPN Business Resources |
-

Reaching Your Audience Through Online Video
Internet video is continuing to grow by leaps and bounds. -

Yahoo Reveals SEM of Re-Brand
Near the end of September, Yahoo began a new branding campaign in an... -

Search + Social = Better ROI
Are you utilizing search and social media together? According to Lee...
iEntry 10th Anniversary
RSS
Newsletter
Advertising












4 Comments
comment
this is help ful for me
What about this then...
public static string GetSubDomain(Uri url)
{
if (url.HostNameType == UriHostNameType.Dns)
{
string host = url.Host;
if (host.Split('.').Length > 2)
{
int index = host.IndexOf(".");
return host.Substring(0, (index - 1));
}
}
return null;
}
this code is crap! what
this code is crap! what about www.example.co.uk ???
Handy dandy. Thanks.
Handy dandy. Thanks.
Post new comment