fn pad(s: &str, width: usize) -> String
Pad to width by character count (f"{s:40s}").
width
f"{s:40s}"