Examveda

Which method is used to convert a string to uppercase in Ruby?

A. .to_uppercase

B. .upper

C. .upcase

D. .uppercase

Answer: Option C


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby