StringToHex

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

StringToHex(1, 2)

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

Returns the hex string 54686973206973206120737472696e672e.