- isBlank
Checks if a CharSequence is empty (""), null or whitespace only.
Whitespace is defined by Character
- isNotBlank
Checks if a CharSequence is not empty (""), not null and not whitespace only.
Whitespace is defined
- isEmpty
Checks if a CharSequence is empty ("") or null.
StringUtils.isEmpty(null) = true
StringUtil
- join
Joins the elements of the provided array into a single String containing the
provided list of eleme
- isNotEmpty
Checks if a CharSequence is not empty ("") and not null.
StringUtils.isNotEmpty(null) = fals
- equals
Compares two CharSequences, returning true if they represent equal sequences of
characters.
nulls
- split
Splits the provided text into an array with a maximum length, separators
specified.
The separator i
- replace
Replaces a String with another String inside a larger String, for the first max
values of the search
- capitalize
Capitalizes a String changing the first character to title case as per
Character#toTitleCase(int). N
- startsWith
Check if a CharSequence starts with a specified prefix (optionally case
insensitive).
- substringAfter
Gets the substring after the first occurrence of a separator. The separator is
not returned.
A null
- defaultString
Returns either the passed in String, or if the String is null, the value of
defaultStr.
StringUti