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.
PrivMX Endpoint Swift v2.3
This package is not up to date with the core documentation. Some of the features you've seen described in other parts of the documentation might not be mentioned here. Those changes do not influence compatibility, however