pub fn format_even(strings: &[String], spaces: usize, end: &str) -> String
Expand description

Space strings out evenly. strings are the strings to be spaced out. space is how many characters of space each string is allowed, the widht of the spacing. end will be pushed onto the end of the output.

Example:

use music_theory::utils::infos::*;
let v = vec![
    "AAAA".to_string(),
    "BBBBBBBB".to_string(),
    "CCCC".to_string()
];
assert_eq!(&format_even(&v, 6, "\n"), "AAAA  BBBBB`CCCC  \n");