[Nitro] [NP.ORG] Nitro/Og Fora daily digest

george.moschovitis at gmail.com george.moschovitis at gmail.com
Mon May 14 20:05:02 EDT 2007


>From gmosx.myopenid.com 
Date: Mon May 14 06:20:25 UTC 2007
Subject: Extract main part of domain
Message-ID: http://www.nitroproject.org/fora/posts/view/a0hNacaEmr3kiUeJeZaaqU

<Dear devs,

I am wondering if anyone has an elegant solution to this problem: I want to extact the 'main' part of a domain, for example:

www.nitro.com ->< nitro.com
localhost:8000 ->< localhost:8000
gmosx.nitro.com -> nitro.com

If someone can provide an elegant snippet of code, I would like to see this.

-g.




--
This mail is automatically generated from the http://nitroproject.org/fora
digest robot. It presents the discussions in the fora during the last 24 hours.
Do not reply to this email.


More information about the Nitro-general mailing list