StringToHex

Overview

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

Syntax

StringToHex(1, 2)

Function Properties

OrdinalTypeDescription
1stringRequiredString to encode
2stringRequiredCharacter set used for encoding. This function defaults to UTC-8 if not specified. You can also specify UTC-16.

Usage

Returns the hex string 54686973206973206120737472696e672e.