title: String searching and comparison in Python
body: <p>I am trying to find matching words in set of two strings using Python. For example string:</p>
  
  <pre><code>a = "Hello Mars"
  b = "Venus Hello"
  </code></pre>
  
  <p>I want to return true/false if the first word in string <code>a</code> equals the second word in string <code>b</code>.</p>
  
  <p>can I do something like this?</p>
  
  <pre><code>if a.[1:] == b.[:] return true else false
  </code></pre>