Outputs
- Result — the string form of the input.
- Uppercase — same string, uppercased.
- Lowercase — same string, lowercased.
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
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 (default0); 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.