pub fn truncate_text(text: &str, tlen: usize) -> &str