Skip to main content

String

Information

Class of string objects, such as "abc" (and in JS 'abc' works as well) 

Parent

Object

Variables and Functions

Name Type Info
toLowerCase() String Returns a copy of this string, but with all characters in upper case
toUpperCase() String Returns a copy of this string, but with all characters in lower case
equalsIgnoseCase(String other) boolean Hash code of this object. It is used to optimize maps and other things, should never be used for object equality.
length() int Number of characters
charAt(int index) char Single character at index