# String
Class of string objects, such as "abc" (and in JS 'abc' works as well)
##### Parent [Object](https://mods.latvian.dev/books/kubejs/page/object) #### Variables and Functions**Name** | **Type** | **Info** |
empty | [boolean](https://mods.latvian.dev/books/kubejs/page/primitive-types) | Returns if string is empty a.k.a `string === ''` |
toLowerCase() | [String](https://mods.latvian.dev/books/kubejs/page/string) | Returns a copy of this string, but with all characters in upper case |
toUpperCase() | [String](https://mods.latvian.dev/books/kubejs/page/string) | Returns a copy of this string, but with all characters in lower case |
equalsIgnoseCase([String](https://mods.latvian.dev/books/kubejs/page/string "String") other) | [boolean](https://mods.latvian.dev/books/kubejs/page/primitive-types "Primitive Types") | Hash code of this object. It is used to optimize maps and other things, should never be used for object equality. |
length() | [int](https://mods.latvian.dev/books/kubejs/page/primitive-types) | Number of characters |
charAt([int](https://mods.latvian.dev/books/kubejs/page/primitive-types) index) | [char](https://mods.latvian.dev/books/kubejs/page/primitive-types) | Single character at index |