The String class has many instance methods including:
- public String substring(int beginIndex)
- public String substring(int beginIndex, int endIndex)
- public int length()
- public int indexOf(String s)
- public int indexOf(String s, int beginIndex)
The String class has many instance methods including: