Utils
Helper methods for removing extraneous whitespace from, and splitting std.strings.
Static Methods
trim(data:)
Removes all trailing whitespace.
Params
data
std.string
string to trim
Returns
std.string ·
copy of the string with removed trailing whitespace.
ltrim(data:)
Removes all whitespace from the left of given string.
Params
data
inout std.string
reference to string
rtrim(data:)
Removes all whitespace from the right of given string.
Params
data
inout std.string
reference to string
split(data:delimiter:)
Splits string by given delimiter (delimiter is removed).
Params
data
std.string
string to split
delimiter
std.string
string which will be split
Returns
privmx.StringVector ·
vector containing all split parts
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.