title: Java: method to get position of a match in a String?
body: <pre><code>String match = "hello";
  String text = "0123456789hello0123456789";
  
  int position = getPosition(match, text); // should be 10, is there such a method?
  </code></pre>