random_string
The random_string function returns a string containing a random series of uppercase and/or lowercase letters and/or numbers at the specified length. If no length is specified then the string will be 8 characters long.
{{ random_string(3) }}
{# Returns a string that is 3 characters long #}
Arguments
The random_string function has the following signature.
random_string(length)
Argument | Description |
---|---|
length | The number of characters that the returned value should be. If it is not set then the returned value will be 8 characters long. |