- Created by Unknown User (purbancik), last modified by Ayumi Yasuda on Apr 09, 2022
You have Czech selected as language but this page has not been translated yet. Translate the page or view the content in the default space language below.
Display defaultThe complete reference of string amnipulating functions
|
Capitalizes a String changing the first letter to title case as per Character.toTitleCase(char). |
|
Centers a String in a larger String of size size using the space character (' '). |
|
Centers a String in a larger String of size size. |
|
Removes one newline from end of a String if it's there, otherwise leave it alone. |
|
Removes separator from the end of str if it's there, otherwise leave it alone. |
|
Remove the last character from a String. |
|
Checks if String contains a search String, handling null. |
|
Checks if String contains a search String irrespective of case, handling null. |
|
Checks that the String does not contain certain characters. |
|
Checks if the String contains only certain characters. |
|
Counts how many times the substring appears in the larger String. |
|
Deletes all whitespaces from a String. |
|
Compares two Strings, and returns the portion where they differ. |
|
Compares two Strings, returning true if they are equal. |
|
Compares two Strings, returning true if they are equal ignoring the case. |
|
Find the Levenshtein distance between two Strings. |
|
Finds the first index within a String, handling null. |
|
Finds the first index within a String, handling null. |
|
Search a String to find the first index of any character in the given set of characters. |
|
Find the first index of any of a set of potential substrings. |
|
Search a String to find the first index of any character not in the given set of characters. |
|
Compares two Strings, and returns the index at which the Strings begin to differ. |
|
Checks if the String contains only unicode letters. |
|
Checks if the String contains only unicode letters or digits. |
|
Checks if the String contains only unicode letters, digits or space (' '). |
|
Checks if the String contains only unicode letters and space (' '). |
|
Checks if a String is whitespace, empty ("") or null. |
|
Checks if a String is empty ("") or null. |
|
Checks if a String is not empty (""), not null and not whitespace only. |
|
Checks if a String is not empty ("") and not null. |
|
Checks if the String contains only unicode digits. |
|
Checks if the String contains only unicode digits or space (' '). |
|
Checks if the String contains only whitespace. |
|
Joins the elements of the provided array into a single String containing the provided list of elements. |
|
Joins the elements of the provided array into a single String containing the provided list of elements. |
|
Joins the elements of the provided array into a single String containing the provided list of elements. |
|
Finds the last index within a String, handling null. |
|
Finds the first index within a String, handling null. |
|
Find the latest index of any of a set of potential substrings. |
|
Gets the leftmost len characters of a String. |
|
Left pad a String with spaces (' '). |
|
Left pad a String with a specified String. |
|
Converts a String to lower case as per String.toLowerCase(). |
|
This will return the no. of characters of the string. |
|
Gets len characters from the middle of a String. |
|
Finds the n-th index within a String, handling null. |
|
Overlays part of a String with another String. |
|
Removes all occurances of a substring from within the source string. |
|
Removes a substring only if it is at the end of a source string, otherwise returns the source string. |
|
Removes a substring only if it is at the begining of a source string, otherwise returns the source string. |
|
Repeat a String repeat times to form a new String. |
|
Replaces all occurrences of a String within another String. |
|
Replaces a String with another String inside a larger String, for the first max values of the search String. |
|
Replaces multiple characters in a String in one go. |
|
Replaces a String with another String inside a larger String, once. |
|
Reverses a String as per StringBuffer.reverse(). |
|
Gets the rightmost len characters of a String. |
|
Right pad a String with spaces (' '). |
|
Right pad a String with a specified String. |
|
Splits the provided text into an array, using whitespace as the separator. |
|
Splits the provided text into an array, separators specified. |
|
Splits the provided text into an array with a maximum length, separators specified. |
|
Splits the provided text into an array, separator string specified. |
|
Splits the provided text into an array, separator string specified. |
|
Splits the provided text into an array, using whitespace as the separator, preserving all tokens, including empty tokens created by adjacent separators. |
|
Splits the provided text into an array, separators specified, preserving all tokens, including empty tokens created by adjacent separators. |
|
Splits the provided text into an array with a maximum length, separators specified, preserving all tokens, including empty tokens created by adjacent separators. |
|
Strips whitespace from the start and end of a String. |
|
Strips any of a set of characters from the start and end of a String. |
|
Strips whitespace from the start and end of every String in an array. |
|
Strips any of a set of characters from the start and end of every String in an array. |
|
Strips any of a set of characters from the end of a String. |
|
Strips any of a set of characters from the start of a String. |
|
Gets a substring from the specified String avoiding exceptions. |
|
Gets a substring from the specified String avoiding exceptions. |
|
Gets the substring after the first occurrence of a separator. |
|
Gets the substring after the last occurrence of a separator. |
|
Gets the substring before the first occurrence of a separator. |
|
Gets the substring before the last occurrence of a separator. |
|
Gets the String that is nested in between two instances of the same String. |
|
Gets the String that is nested in between two Strings. |
|
Searches a String for substrings delimited by a start and end tag, returning all matching substrings in an array. |
|
Swaps the case of a String changing upper and title case to lower case, and lower case to upper case. |
|
Removes control characters (char <= 32) from both ends of this String, handling null by returning null. |
|
Uncapitalizes a String changing the first letter to title case. |
|
Converts a String to upper case. |
- No labels