Skip to main content
Converts the input to a string. Emits the verbatim, uppercase, and lowercase forms in parallel. Sibling of To Integer, To Float, To Boolean, To Date, and To DateTime.

Outputs

  • Result — the string form of the input.
  • Uppercase — same string, uppercased.
  • Lowercase — same string, lowercased.
Whole-number floats render as integers (44.0 becomes "44"); other floats render with the shortest form that round-trips to the same value (44.1 becomes "44.1", not "44.1000000000000014").

Case style

Case style re-shapes the string before the other steps run. None (default) leaves it alone; the rest map onto the Recase converters:
  • camelCase — someValue
  • PascalCase — SomeValue
  • snake_case — some_value
  • kebab-case — some-value
  • CONSTANT_CASE — SOME_VALUE
  • dot.case — some.value
  • path/case — some/value (original capitalization preserved)
  • Sentence case — Some value
  • Title Case — Some Value
  • Header-Case — Some-Value
  • Name Case — McCarthy O'Donnell, von Streit
Word boundaries come from separators, camel humps and digit runs, so numbers get split too — 44.1 becomes 44_1 under snake_case. Pick None when the input is numeric. The case style applies to all three output ports, and the Uppercase and Lowercase ports still fold their case afterwards — which flattens most styles (camelCase upper-cased is just SOMEVALUE). Read the styled value off the Result port.

Truncation

Set Truncate width to a positive integer to cut the result down to a fixed grapheme length. Truncate side picks :right (default — keep the prefix, drop the tail) or :left (keep the suffix, drop the head). Values already at or below the width pass through unchanged.

Padding

Set Pad width to a positive integer to pad the result to a fixed length. Pad char is the fill (default 0); pass multiple characters to cycle them as graphemes, like String.pad_leading/3. Pad side picks left (default) or right. Values already at or above the width pass through unchanged. Case style runs first, then truncation, then padding, so setting both widths to the same value yields an exact-length field. All three apply to all three output ports.

Ports