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").

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. Truncation runs before padding, so setting both to the same width produces an exact-length field. Both apply to all three output ports.

Ports