Tag Archives: squeeze

How to remove extra spaces in ruby strings

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   … Continue reading

Posted in Ruby | Tagged , | Leave a comment