Answers for "ruby capitalize method"

2

upcase first letters in ruby

“mICHAel”.capitalize
Posted by: Guest on November-25-2020
0

capitalize composed name ruby

require 'active_support/core_ext'
"kirk douglas".titleize #=> "Kirk Douglas"
Posted by: Guest on January-27-2021
0

capitalize composed name ruby

'one TWO three foUR'.gsub(/\w+/, &:capitalize)
Posted by: Guest on January-27-2021

Browse Popular Code Answers by Language