title: Count of of characters matched in sequence of two string
body: <p>I want to match two string  and get how many chars matched in sequence. 
  Like :</p>
  
  <pre><code>String one="ABCDEFGHIJK";
  String two="ZANDEFGHOPQ";
  </code></pre>
  
  <p>like you can see that it must return 5 chars in sequence matched because <strong>DEFGH</strong> are exist on both sequence.</p>
  
  <p>Thanks</p>