A code example for trimming all chars including spaces, avoiding the what is a space issue.