Searches for the first index of the specified character. The search for the character starts at the beginning and moves towards the end. @param string the string to find. @return the index of the specified character, -1 if the character isn't found. @see #lastIndexOf(String) @sin
(String string)
| 656 | * @since 1.4 |
| 657 | */ |
| 658 | public int indexOf(String string) { |
| 659 | return indexOf(string, 0); |
| 660 | } |
| 661 | |
| 662 | /** |
| 663 | * Searches for the index of the specified character. The search for the |