StringToHex

Overview

Returns the hex string of bytes that make up a string value.

Syntax

StringToHex(1, 2)

Function Properties

Ordinal Type Description
1 string Required String to encode
2 string Required Character set used for encoding. This function defaults to UTC-8 if not specified. You can also specify UTC-16.

Usage

StringToHex('This is a string.')

Returns the hex string 54686973206973206120737472696e672e.

Last Updated: Jun 8, 2021