<<< String from array of bytes | Index | toUpperCase( ) and toLowerCase( ) methods >>> |
Methods for manipulating strings:
length() indexOf(String) // first occurence of the String indexOf(String, startIndex) // occurence of the String lastIndexOf(String) // last occurence of the String lastIndexOf(String, startIndex) trim() // remove white space substring(startIndex) substring(startIndex, endIndex) replace(oldChar, newChar) // replaces all instances of oldChar split(delimiter) // returns array of substrings charAt(index) equals(String) // compares data equalsIgnoreCase(String) startsWith(String) // true if String matches startsWith(String, startIndex) // true if match after startIndex endsWith(String) // true if String matches at the end isEmpty() compareTo(String) compareToIgnoreCase(String)
<<< String from array of bytes | Index | toUpperCase( ) and toLowerCase( ) methods >>> |