Utils blocks#

Tidy, reorder, count, and measure text between two steps of a flow, or make a fresh UUID.

The Utils category holds small text operations that do not belong anywhere else. They tidy, reorder, count and generate. Drop one into the middle of a flow to get a value into the shape the next block wants. Most treat the input as a list of lines. Every block takes text on Input and emits text on Output.

Reverse#

The reverse block on the canvas

Reverses the input, either character by character or line by line.

  • By - what to reverse. Options: Character, Line (default Character).

To Upper Case#

The to upper case block on the canvas

Converts the whole input to upper case. Use it to make values consistent before comparing or sorting them.

To Lower Case#

The to lower case block on the canvas

Converts the whole input to lower case.

Remove Whitespace#

The remove whitespace block on the canvas

Strips whitespace out of the input. Use it to clean up a value that has picked up stray spaces or line breaks on the way in.

  • Remove all whitespace - a switch, on by default. When on, the block removes every whitespace character. When off, it trims only the ends.

Sort#

The sort block on the canvas

Sorts the lines of the input. Without Numeric Sort it sorts alphabetically.

  • Reverse - a switch, off by default. Puts the sorted lines in the opposite order.
  • Numeric Sort - a switch, off by default. Compares lines as numbers rather than as text.

Unique#

The unique block on the canvas

Removes duplicate lines. Use it after collecting results to get a clean list of distinct values.

Count Occurrences#

The count occurrences block on the canvas

Counts how many times a piece of text appears in the input.

  • Search String - the text to look for. Empty by default; an empty search string returns 0.

Word Count#

The word count block on the canvas

Measures the input and emits three labelled lines: Words, Lines and Chars.

Generate UUID#

The generate UUID block on the canvas

Emits a new random version 4 UUID. It ignores its input entirely, so it can sit anywhere in a flow.