Definition
The random string transformer generates a random string of alphanumeric characters.
For example:
h2983hf28h92
By default, the random string transformer generates a string of 10 characters long.
Configurations
Depending on your validations, you may want to configure the output string. The random string transformer has the following configurations:
Name | Description | Default | Example Input | Example Output |
---|---|---|---|---|
Preserve Length | Preserves the length of the input integer to the output integer. | false | hello | 9Fau3 |
String Length | Specifies how many digits you want the string to be. There is no defined max length that a string can be. | 10 | 6 | noIB8a |
Examples
There are several ways you can mix-and-match configurations to get different potential random integer formats. Here are some possible combinations:
PreserveLength | String Length | Example Input | Example Output |
---|---|---|---|
false | 5 | bill | je7R6 |
true | N/A | lorem | i1NMe |
false | N/A | ipsum | Hinw2 |