util.Strings methods

Methods for the util.Strings class.

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