API Reference/PrivMX Endpoint Java/Core
Utils
Constructors
Utils
Static Methods
ltrim
Removes all whitespace from the left of given string.
Params
data
String
reference to string
Returns
String
·
copy of string without whitespace at the beginning
rtrim
Removes all whitespace from the right of given string.
Params
data
String
reference to string
Returns
String
·
copy of string without whitespace at the end
split
Splits a string using the provided delimiter.
Params
data
String
the string to be split
delimiter
String
string which will be split
Returns
List<String>
·
split parts
trim
Removes all trailing whitespace.
Params
data
String
string to trim
Returns
String
·
copy of string with removed trailing whitespace
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.