upcase or upcase! : upcase « String « Ruby





upcase or upcase!


puts "warning! hot!".upcase

 

Related examples in the same category

1.Call upcase function from string class on a sentence
2.upcase does not change the original string
3.Call upcase function from string on a word
4.Change string to upper case in place