Answers for "how to capitalize in ruby"

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