title: This code keeps giving me: string indices must be integers
body: <p>I keep getting a TypeError: string indices must be integers. Not sure how to correct this. </p>
  
  <pre><code>def get_next_target(string):
      start_str=string.find('&lt;')
      if start_str==-1:
          return None,0
  
      end_str=string.find('&gt;',start_str)
      next_start_str=string.find('&lt;',end_str)
  
      if next_start_str==-1:
          return string[end_str+1:]
  
      word=string[end_str+1,next_start_str]
      return word,next_start_str
  
  
  
  print (get_next_target('&lt;h1&gt;Title &lt;&gt;'))
  </code></pre>