From Characters generator

Generates a string from the given characters.

string.fromCharacters

Generator settings

Generate data to see results here.

Parameters & Example

Generates a string from the given characters.

string.fromCharacters(characters: string | ReadonlyArray<string>, length?: NumberOrRange)
characters
The characters to use for the string. Can be a string or an array of characters. If it is an array, then each element is treated as a single character even if it is a string with multiple characters.
length
The length of the string to generate either as a fixed length or as a length range. Defaults to 1.
length.min
The minimum length of the string to generate.
length.max
The maximum length of the string to generate.

Example

"4C3B40F7"

Use synthetic data in a test environment.

Related generators

Explore scenarios