Getting domain part from path : <p>If I use <code>__DIV__</code> I get path something like this:</p>

<pre><code>/home/domaincom/public_html/account/assets
</code></pre>

<p>I need to get the <strong>domaincom</strong> part only, how do I do that?</p>

<p>Thanks</p>
