prefix

Function prefix 

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