blah/fa/string

Functions

pub fn alpha(length: Int) -> String
pub fn alphanumeric(length: Int) -> String
pub fn numeric(length: Int) -> String
pub fn pronounceable() -> String
pub fn with_pattern(given_pattern: String) -> String

you can use the below codes to specify your desired pattern:

%c - digits and letters

%w - letters

%d - digits

%n - non-zero digits
Search Document