Sample生成器

Sample生成器 · string.sample. 生成方法 · 示例

string.sample

生成设置

生成后在这里查看结果。

参数 & 示例

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.

示例

"_-Z'`HAo/1"

请在测试环境使用合成数据。

相关生成器

探索场景模板