🩺String Methods
No. | Method | Description |
---|---|---|
1 | It returns char value for the particular index | |
2 | It returns string length | |
3 | It returns a formatted string. | |
4 | It returns formatted string with given locale. | |
5 | It returns substring for given begin index. | |
6 | It returns substring for given begin index and end index. | |
7 | It returns true or false after matching the sequence of char value. | |
8 | It returns a joined string. | |
9 | It returns a joined string. | |
10 | It checks the equality of string with the given object. | |
11 | It checks if string is empty. | |
12 | It concatenates the specified string. | |
13 | It replaces all occurrences of the specified char value. | |
14 | It replaces all occurrences of the specified CharSequence. | |
15 | It compares another string. It doesn't check case. | |
16 | It returns a split string matching regex. | |
17 | It returns a split string matching regex and limit. | |
18 | It returns an interned string. | |
19 | It returns the specified char value index. | |
20 | It returns the specified char value index starting with given index. | |
21 | It returns the specified substring index. | |
22 | It returns the specified substring index starting with given index. | |
23 | It returns a string in lowercase. | |
24 | It returns a string in lowercase using specified locale. | |
25 | It returns a string in uppercase. | |
26 | It returns a string in uppercase using specified locale. | |
27 | It removes beginning and ending spaces of this string. | |
28 | It converts given type into string. It is an overloaded method. |
Last updated