Skip to main content

format_string

Function format_string 

Source
pub fn format_string(s: &str, fmt: &StringFormat) -> String
Expand description

Format text according to a StringFormat: case, length, truncation.