Checks if a (trimmed) String is null or empty.
Note: In future releases, this method will no long
Checks if a String is non null and is not empty (length > 0).
Joins the elements of the provided array into a single String containing the
provided list of elemen
Splits the provided text into a array, based on a given separator.
The separator is not included
Checks if a String is whitespace, empty ("") or null.
StringUtils.isBlank(null) = true
Replace a String with another String inside a larger String, for the first max
values of the search
Remove a value if and only if the String ends with that value.
Returns either the passed in Object as a String, or, if the Object is null, a
passed in default Stri
Repeat a String n times to form a new string.
Turn "Now is the time for all good men" into "...is the time for..." Works like
Convert the first character of the given String to uppercase. This method will
not trim of spaces!
Center a String in a larger String of size n.
Uses a supplied String as the value to buffer the S