How do I take a string and convert it to lower or upper case in Ruby?
You can find strings method like "strings".methods You can define string as upcase, downcase, titleize. For Example,
"strings".methods
upcase
downcase
titleize
"hii".downcase "hii".titleize "hii".upcase