to_HEX(str)
Returns the HEX calculate of the string.
Syntax
to_HEX(str);
Arguments
| Name | Description |
|---|---|
|
str |
A string which will be calculated. |
Events
Applicable in all events.
Example
when HTTP_REQUEST {
str = “\0\123\3”
hex = to_HEX(str)
debug(“this str in hex is: %s\n”, hex)
}
Supported Version
FortiADC version 4.8.x and later.