https://stackoverflow.com/questions/1634750/ruby-function-to-remove-all-white-spaces
String#strip - remove all whitespace from the start and the end.
String#lstrip - just from the start.
String#rstrip - just from the end.
String#chomp (with no arguments) - deletes line separators (\n or \r\n) from the end.
String#chop - deletes the last character.
String#delete - x.delete(" \t\r\n") - deletes all listed whitespace.
String#gsub - x.gsub(/[[:space:]]/, '') - removes all whitespace, including unicode ones.
choose this: