Trường · Alpha

Trường · Alpha · string.alpha. Phương thức tạo · Ví dụ

string.alpha

Cài đặt trình tạo

Tạo dữ liệu để xem kết quả ở đây.

Tham số & Ví dụ

Generating a string consisting of letters in the English alphabet.

string.alpha(options?: number | { length?: NumberOrRange; casing?: Casing; exclude?: ReadonlyArray<LiteralUnion<AlphaChar>> | string; })
options
Either the length of the string to generate or the optional options object.
options.length
The length of the string to generate either as a fixed length or as a length range. Defaults to 1.
options.casing
The casing of the characters. Defaults to 'mixed'.
options.exclude
An array with characters which should be excluded in the generated string. Defaults to [].

Ví dụ

"I"

Dùng dữ liệu tổng hợp trong môi trường kiểm thử.

Trình tạo liên quan

Khám phá kịch bản