includes - multi search

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

includes - multi search v10.4.28

checks if one of the given strings is included in the primary string.

In pins 2
  • value required
    value
  • searches required
    array

    strings to search

Out pins 2
  • has match
    condition
  • matches
    array

Case-SENSITIVE substring test: matches lists each entry of searches found anywhere in value (the terms themselves, not positions); has_match is true when at least one hit exists. Nil entries are skipped, non-string entries are coerced JS-style, and an empty-string entry matches EVERYTHING. A non-array searches yields has_match false and empty matches.

has value

A typical wiring for includes - multi search: value feeds the value pin; with values feeds the searches pin; the has_match out pin feeds branch.

Studio canvas example for the includes - multi search block: typical wiring for includes - multi search.

Version history

Introduced in v10.4.28.


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