str

Function str 

Source
pub fn str(s: &str, len: usize) -> String
Expand description

Generate random string

§Example

use light_tool::random;
println!("random string: {}", random::str("ABCDEFGHIJKLMNOPQRSTUVWXYZ", 10))