String method- indexof

indexof method is used to find out the index of a particular character or Substring into the String. It has 4 type of different signatures. int indexOf(int ch) int indexOf(String str) int indexOf(int ch,int...