-
public int length()
-
public char charAt(int index)
-
public int compareTo(String other)
- Compares two strings lexicographically. It can be used to sort strings.
-
public boolean equals(Object other)
-
public boolean equalsIgnoreCase(String other)
-
public boolean startsWith(String prefix [, int start_index])
-
public boolean endsWith(String suffix)
-
public boolean regionMatches([boolean ignoreCase,] int start_index, String other, int start_index_other, int len)
-
public int indexOf(String other [, int startindex])
-
public int lastIndexOf(String other [, int startindex])
-
public String substring(int start_index[, int end_index])
-
public String replace(char oldChar, char newChar)
-
public String toLowerCase()
-
public String toUpperCase()
-
public String trim()
- Removes white space from both ends of this string.
-
public String toString()
- This object (which is already a string!) is itself returned.
-
public static String valueOf(Primitive Datatype value)
- Returns the string representation of the primitive datatype.
|