In ruby, one can write multiple codes to remove multiple blank spaces inside strings (sentenses)
"Write your string here ".squeeze.strip
"This is my input string ".gsub(/ +/, ' ')
"Write your string here ".split(' ').join(' ')
"Write your string here ".squeeze.strip
"This is my input string ".gsub(/ +/, ' ')
"Write your string here ".split(' ').join(' ')