Rand_alphanum(int)
Generates a random alphabet + number sequence. Returns a string, length is the <int>.
Syntax
Random_alphanum(int);
Arguments
| Name | Description |
|---|---|
|
Int |
An integer which specifies the length of the returned string. |
Events
Applicable in all events.
Example
when HTTP_REQUEST {
c = rand_alphanum(17)
debug("-----rand_alphanum c = %s-----\n", c)
}
Result:
-----rand_alphanum c = XTHQpb6ngabMqH7nx-----
Supported Version
FortiADC version 5.2.x and later.