Skip to content

The "Switch Case" Node ​

Changes the capitalization of a given text.

Switch Case

  • Result
  • Mode
  • Text

Inputs ​

  • Mode − The specific capitalization / case to convert to. Converting from a previous case to another also works, e.g. from kebab case "my-phrase" to sentence case will result in "My phrase".
    • UPPERCASE
    • lowercase
    • camelCase − Capitalizes the first letter of every word, except of the first word. Converts all other letters to lowercase. Removes spaces.
    • Capitalize − Capitalizes the first letter of every word. Converts all other letters to lowercase. Keeps spaces.
    • CONSTANT_CASE − Converts every letter to uppercase. Replaces spaces with underscores.
    • dot.case − Converts every letter to lowercase. Replaces spaces with dots.
    • kebab-case − Converts every letter to lowercase. Replaces spaces with hyphens.
    • no case − Converts every letter to lowercase. Keeps spaces.
    • PascalCase − Capitalizes the first letter of every word. Converts all other letters to lowercase. Removes spaces.
    • Pascal_Snake_Case − Capitalizes the first letter of every word. Converts all other letters to lowercase. Replaces spaces with underscores.
    • path/case − Converts every letter to lowercase. Replaces spaces with forward slashes.
    • Sentence case − Capitalizes the first letter. Converts all other letters to lowercase. Keeps spaces.
    • snake_case − Converts every letter to lowercase. Replaces spaces with underscores.
    • Train-Case − Capitalizes the first letter of every word. Converts all other letters to lowercase. Replaces spaces with hyphens.
  • Text − The text to change the case of.

Outputs ​

  • Result − The converted text.