title: Check intersection between two strings in python
body: <p>I'm trying to check intersection between two strings using Python.
  I defined this function:</p>
  
  <pre><code>def check(s1,s2):
      word_array = set.intersection(set(s1.split(" ")), set(s2.split(" ")))
      n_of_words = len(word_array)
      return n_of_words
  </code></pre>
  
  <p>It works with some sample string, but in this specific case: </p>
  
  <pre><code>d_word = "BANGKOKThailand"
  nlp_word = "Despite Concerns BANGKOK"
  
  print(check(d_word,nlp_word))
  </code></pre>
  
  <p>I got 0. What am I missing?</p>