Examveda

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

A. .to_lowercase

B. .lower

C. .downcase

D. .lowercase

Answer: Option C


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

Join The Discussion

Related Questions on Basic Syntax in Ruby