title: Get the domain part of an URL string?
body: <p>I have an NSString with an URL, in this way:</p>
  
  <pre><code>http://someurl.com/something
  </code></pre>
  
  <p>How would I get <code>someurl.com</code> only?
  I've already tried <code>substringToIndex</code> with no luck :( </p>
  
  <p>Thanks in advance :)</p>