Handbook · Reference · Blockly · Containd text helpers

Blockly: Containd text helpers

Where in the UI. Scripts tab toolbox.

Split/join/sanitize and encoded selects.

Block idRead asPurpose
containd_split_stringsplit stringSplit a string into a list by delimiter (e.g. ";" or newline)
containd_join_stringsjoin stringsJoin a list of strings with a delimiter. Type \ / \\r / \\t in a text block for real newline/CR/tab (same unescape as split).
containd_strip_non_alphanumericstrip non alphanumericKeep ASCII letters and digits only (A–Z, a–z, 0–9). Useful for ISO → RFC 6350 basic timestamps after dropping ms digits.
containd_string_at_indexstring at indexSafe list index read (returns empty string when missing)
containd_multiline_line_atmultiline line atSplit multiline text by newline and return one line (0-based index)
containd_encoded_select_selectedencoded select selectedRead selected value (index 0) from encoded stringSelect value
containd_encoded_select_optionsencoded select optionsRead option list (indices 1..n) from encoded stringSelect value
containd_encoded_select_buildencoded select buildBuild encoded stringSelect value: selected;option1;option2;...