insert custom

This block is part of the value group and was last modified in core v10.4.28.

insert custom v10.4.28

Replaces the given strings by the given emoji

In pins 3
  • text required
    value
  • find required
    array
  • replace by required
    array
Out pins 1
  • value
    value

Replaces occurrences of find[i] in the text with replace[i]. Find terms are matched LITERALLY (regex-escaped) and case-INSENSITIVELY, but a hit whose case differs from the find entry is left UNCHANGED because the replacement is looked up by the exact matched text. When value is unwired or find/replace is empty, NO output is written at all.

replace

A typical wiring for insert custom: value feeds the value pin; with values feeds the find pin; with values feeds the replace pin; the value out pin feeds convert to uppercase.

Studio canvas example for the insert custom block: typical wiring for insert custom.

Version history

Introduced in v10.4.28.


Back to value Return to the main group to view all sub-groups Back to emoji Return to the group to view all blocks within this group