title: Simple python / Beautiful Soup type question
body: <p>I'm trying to do some simple string manipulation with the href attribute of a hyperlink extracted using <a href="http://www.crummy.com/software/BeautifulSoup/" rel="noreferrer">Beautiful Soup</a>:</p>
  
  <pre><code>from BeautifulSoup import BeautifulSoup
  soup = BeautifulSoup('&lt;a href="http://www.some-site.com/"&gt;Some Hyperlink&lt;/a&gt;')
  href = soup.find("a")["href"]
  print href
  print href[href.indexOf('/'):]
  </code></pre>
  
  <p>All I get is:</p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 5, in &lt;module&gt;
      print href[href.indexOf('/'):]
  AttributeError: 'unicode' object has no attribute 'indexOf'
  </code></pre>
  
  <p>How should I convert whatever <code>href</code> is into a normal string?</p>