.encodeHex()
Description
encodeHex takes each character, converts it to hexadecimal and then adds it to a new string
Parameters
encodeHex takes no parameters
Usage
val = "hello world"
log val.encodeHex()
// 68656c6c6f20776f726c64
Last updated
Was this helpful?