Answers for "ruby convert character of string to uppercase depending on conditional"

3

uruby to lower case

name = 'Foo'
puts name           # Ruby
puts name.downcase  # ruby
puts name.upcase    # RUBY
puts name           # Ruby
Posted by: Guest on August-22-2020

Code answers related to "ruby convert character of string to uppercase depending on conditional"

Browse Popular Code Answers by Language