String Operations
This function block offers a collection of common text transformations and checks. Choose a method from the dropdown and the block will adapt its inputs and outputs to match the selected operation. It is ideal for cleaning, parsing, searching and preparing textual data for logging or further processing.
π₯ Inputs
String Main text to process (primary input).
Note: The exact input sockets change depending on the selected method. For example, some methods add a second String input for a substring or a separator, or allow multiple string inputs.
π€ Outputs
String / Number / Boolean / other types depending on the selected method.
Note: Outputs update to reflect the selected operation β e.g. a count returns a number, membership check returns a boolean, split returns a list of strings.
πΉοΈ Controls
Method A dropdown list where you select which text operation to apply. The available choices include, for example: Upper, Lower, Count, Merge, Split, Replace, Length, StartsWith, EndsWith, Join, Reverse, Remove Digits, and more.
When you change the Method, the block adjusts its visible inputs and outputs automatically to match the selected operation.
π¨ Features
Adaptive SocketsInputs and outputs change dynamically based on the chosen method so you only see the controls you need.Wide Method LibraryIncludes string case conversion, searching, splitting/joining, replacements, checks (isdigit/isalpha/etc.), trimming and utility operations like length and reverse.Simple UIChoose an operation and connect the required string inputs β no scripting required.
π Usage Instructions
Select the desired operation from the
Methoddropdown.Connect the main text source to the
Stringinput. If the chosen operation needs extra values (e.g. a substring or separator), additional input sockets will appear β provide those.Read the result from the block outputs shown on the block. The output type depends on the selected operation (text, number, boolean, or list).
Examples:
Use
Upperto convert text to uppercase.Use
Replaceto substitute a substring with another. Provide the main text and the old/new substring inputs.Use
Splitto produce a list of substrings by giving a separator.
π Evaluation
When run, this block applies the chosen textual operation to the input values and returns results on the matching output sockets. If inputs are missing, the block shows the last valid result where possible.
π‘ Tips and Tricks
Combine with
String Inputto provide manual text values when testing or building small prototypes.Use
Find SubstringandReplacein sequence to locate and transform specific parts of a text before logging or exporting.Send results to
Data to JSONorCSV Exportwhen you need to log processed text for later analysis or reporting.Use
Debug Inputto quickly inspect intermediate text values while building your flow.If your text output will be shown to users, apply
StriporTitle Caseto tidy formatting before exporting or displaying.
π οΈ Troubleshooting
If expected inputs disappear after changing the
Method, re-open the block and re-connect the newly visible inputs β the sockets are intentionally adaptive.If a numeric or boolean result is expected but you see text, confirm you selected the correct
Method(some methods return different data types).For unexpected empty outputs, check upstream blocks that provide the input text (such as
String Inputor data read blocks) and useDebug Inputto verify values.
Last updated
Was this helpful?