convertChar method
Return a char with appropriate conversions applied.
This method is used whenever a single character needs to be printed.
It should be used to replace single characters like " " with something more meaningful (like the word "space").
Implementation
String convertChar(final String char) => char == ' ' ? 'space' : char;