Ruby - String Operations
Which Ruby string method removes spaces only from the beginning and end of a string?
stripstrip method removes whitespace characters from both the start and end of a string.upcase and downcase change letter cases, while chomp removes newline characters, not spaces.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions