chickadee » string-utils » string-fixed-length

(string-fixed-length S N [pad-char: #\space] [trailing: "..."]) -> stringprocedure

Returns the string S with the string-length fixed to N.

A shorter string is padded. A longer string is truncated, & suffixed with the trailing.