Adding a call to capitalize onto the statement. : downcase « String « Ruby






Adding a call to capitalize onto the statement.


puts "YOU KNOW IT".downcase.capitalize 

 

Related examples in the same category

1.Call downcase function from string class
2.concatenate a string to the result