Description
Returns a byte array for a string input.
Syntax
GetBytes(string_expression[, charset_expression])
Arguments
string_expression - any string expression
charset_expression - string_expression indicating the output encoding. The default is UTF-8. See the list of available character sets here.
Examples
GetBytes('Hello World')
returns the byte array of the UTF-8 string 'Hello World'.
Return value datatype
Byte array
Impact of null value
If input is null, returns null.