title: Java String IndexOf behaviour for empty string
body: <p>For a string say, <code>String str = "abc"</code> both <code>str.indexOf("a")</code> and <code>str.indexOf("")</code> return 0. Is this behaviour valid?</p>