capitalize()
Instance Public methods
Converts the first character to uppercase and the remainder to lowercase.
1 | 'über' .mb_chars.capitalize.to_s # => "Ãber" |
Converts the first character to uppercase and the remainder to lowercase.
1 | 'über' .mb_chars.capitalize.to_s # => "Ãber" |
Designed by : w10schools
service@w10schools.com
Please login to continue.