static String capitalize(String input) => input .split(' ') .map((e) => e[0].toUpperCase() + e.toLowerCase().substring(1)) .join(' ');