Capitalize only first character of string and leave others alone? (Rails) December 26, 2022 by Tarik This should do it: title = "test test" title[0] = title[0].capitalize puts title # "Test test"