Strip whitespace from course code and name.