random_letters

The random_letters function returns a string containing a random series of uppercase and/or lowercase letters at the specified length. If no length is specified then the string will be 8 characters long.

{{ random_letters(3) }}

{# Returns a string that is 3 characters long #}

Arguments

The random_letters function has the following signature.

random_letters(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.

< Back to the list of functions