API Reference/PrivMX Endpoint Swift Extra/Extensions
std.string
Methods
isHex()
Checks if the string is in Hex format.
Returns
Bool
·
result of the check.
isBase32()
Checks if the string is in Base32 format.
Returns
Bool
·
result of the check.
isBase64()
Checks if the string is in Base64 format.
Returns
Bool
·
result of the check.
rtrim()
Removes all whitespace from the left of self
.
ltrim()
Removes all whitespace from the left of self
.
trimmed()
Removes all trailing whitespace.
Returns
std.string
·
a copy of this string with trailing whitespace removed
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.