From Characters生成器
From Characters生成器 · string.fromCharacters. 生成方法 · 示例
string.fromCharacters
生成设置
生成后在这里查看结果。
参数 & 示例
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.
示例
"4C3B40F7"请在测试环境使用合成数据。