int indexOf(int ch)
int indexOf(int ch, int sIdx)
int indexOf(String str)
int indexOf(String str, int sIdx)
_INSERT_METHOD_SIGNATURE_HERE_
Parameters
Description:
indexOf() method:
Returns the index within this string of the first occurrence of the specified character.
indexOf(int ch, int sIdx) method:
Returns the index within this string of the first occurrence of the specified character, searching from the specified index.
indexOf(String str) method:
Returns the index within this string of the first occurrence of the specified substring.
indexOf(String str, int sIdx) method:
Returns the index within this string of the first occurrence of the specified substring, searching from the specified index.