Text Util
Functions
Link copied to clipboard
Link copied to clipboard
Tells whether the specified string contains any whitespace characters.
Link copied to clipboard
Converts all line separators in the specified string to the specified line separator.
Link copied to clipboard
Converts all line separators in the specified non-null string to the Unix line separator
\n
.Link copied to clipboard
Escapes the toString() representation of
obj
for use in a literal string.Link copied to clipboard
Returns the line separator for this platform.
Link copied to clipboard
Returns the line separator for Unix.
Link copied to clipboard
Returns the line separator for Windows.
Link copied to clipboard
Link copied to clipboard
Converts all native file separators in the specified string to '/'.
Link copied to clipboard
Converts all line separators in the specified nullable string to a single new line character (
\n
).Link copied to clipboard
Converts all line separators in the specified non-null CharSequence to the specified line separator.
Link copied to clipboard
This method should be used when making strings lowercase that could be affected by locale differences.
Link copied to clipboard
Converts all line separators in the specified string to the platform's line separator.