util.Strings methods

Methods for the util.Strings class.

Table 1. Class methods
Name Description
util.Strings.base64Decode(
  base64 STRING,
  filename STRING
 )
Decodes a Base64 encoded string and writes the bytes to a file.
util.Strings.base64Encode(
  filename STRING
 )
  RETURNS STRING
Converts the content of a file to a Base64 encoded string.
util.Strings.base64DecodeToHexString(
  base64 STRING
 )
  RETURNS STRING
Decodes a base64 encoded string and returns the corresponding hexadecimal string.
util.Strings.base64DecodeToString(
  base64 STRING
 )
  RETURNS STRING
Decodes a base64 encoded string and returns the corresponding string.
util.Strings.base64EncodeFromHexString(
  s STRING
 )
  RETURNS STRING
Converts the hexadecimal string passed as parameter to a Base64 encoded string.
util.Strings.base64EncodeFromString(
  s STRING
 )
  RETURNS STRING
Converts the string passed as parameter to a Base64 encoded string.
util.Strings.urlDecode(
  s STRING
 )
  RETURNS STRING
Converts the URL-encoded string to a string in the current application locale.
util.Strings.urlEncode(
  source STRING
 )
  RETURNS STRING
Converts a string from the current codeset to a URL-encoded string.