I need to get substring position in string while ignoring substring case sensitive. That means I hould like to get the same output result in case of:
String p = "aaaHelloddd";
System.out.println(p.indexOf("Hello"));
System.out.println(p.indexOf("hello"));
How to achieve that?