title: Intersection of two strings in Java
body: <p>Need a Java function to find intersection of two strings. i.e. characters common to the strings.</p>
  
  <p>Example: </p>
  
  <pre><code>String s1 = new String("Sychelless");
  String s2 = new String("Sydney");
  </code></pre>