skip to main |
skip to sidebar
JAVA中indexOf 和 lastIndexOf 的使用
int indexOf(char ch)
int lastIndexOf(char ch)
int indexOf(char ch, int startIndex)
int lastIndexOf(char ch, int endIndex)
int indexOf(String str)
int lastIndexOf(String str)int indexOf(String str, int startIndex)
int lastIndexOf(String str, int endIndex)