Sample generator
Returns a string containing UTF-16 chars between 33 and 125 (! to }).
string.sample
Generator settings
Generate data to see results here.
Parameters & Example
Returns a string containing UTF-16 chars between 33 and 125 (! to }).
string.sample(length?: NumberOrRange)- length
- The length of the string to generate either as a fixed length or as a length range. Defaults to 10.
- length.min
- The minimum length of the string to generate.
- length.max
- The maximum length of the string to generate.
Example
"_-Z'`HAo/1"Use synthetic data in a test environment.