StringExtension extension
- on
Methods
-
capitalize(
) → String -
Available on String, provided by the StringExtension extension
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 -
Available on String, provided by the StringExtension extension
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.