Return Type | Method Signiture | Description |
String | string.substring(int position) | returns the substring starting at position, zero based |
String | string.substring(int position, int length) | returns the substring length characters long starting at position, zero based |
int | string.indexOf(string substring) | returns a zero based index to of where substring occurrs in string |
int | string.indexOf(string substring, int startPosition) | returns a zero based index to of where substring occurrs in string starting at startPosition |
boolean | string.startsWith(String substring) | true if the string starts with substring |
boolean | string.endsWith(String substring) | true if the string ends with substring |
char | string.charAt(int pos) | returns the character at a specified position |