StringExtension extension
- on
Methods
-
capitalize(
) → String - Returns a copy of this string having its first letter uppercased, or the original string, if it's empty or already starts with a upper case letter.
-
decapitalize(
) → String - Returns a copy of this string having its first letter lowercased, or the original string, if it's empty or already starts with a lower case letter.