StringCaseConversionsOnStringX extension
- on
Properties
- isLowerCase → bool
-
Available on String, provided by the StringCaseConversionsOnStringX extension
Returnstrue
if the string is all lowercase.no setter - isUpperCase → bool
-
Available on String, provided by the StringCaseConversionsOnStringX extension
Returnstrue
if the string is all uppercase.no setter
Methods
-
capitalize(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Capitalizes the first letter of the string. -
toCamelCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to camelCase. -
toCapitalizedKebabCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to Capitalized-Kebab-Case. -
toDotCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to dot.case. -
toKebabCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to kebab-case. -
toLowerDotCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to lower.dot.case. (alias for toDotCase). -
toLowerKebabCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to lower-kebab-case (alias for toKebabCase). -
toLowerSnakeCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to lower_snake_case (alias for toSnakeCase). -
toPascalCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to PascalCase. -
toPathCase(
[String separator = '/']) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to path/case. -
toSnakeCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to snake_case. -
toUpperDotCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to UPPER.DOT.CASE. -
toUpperKebabCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to lower-kebab-case. -
toUpperSnakeCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the string to UPPER_SNAKE_CASE; -
withCapitalizedWords(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Capitalizes each word in the string. -
withFirstLetterAsLowerCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the first letter of the string to lowercase. -
withFirstLetterAsUpperCase(
) → String -
Available on String, provided by the StringCaseConversionsOnStringX extension
Converts the first letter of the string to uppercase.