pub fn width(st: &str, tab_width: usize) -> usize
Utility function to determine the width of a string, with variable tab width