includes

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

includes v10.4.28

Checks if the find string is included in the value string.

In pins 2
  • Value required
    value

    The string in which inclusion will be checked.

  • Find required
    value

    The string to find within the main value.

Out pins 1
  • Boolean
    condition

    Returns true if the find string is found within the value string, otherwise false. Also false when either string is empty, so an empty find is not treated as trivially included.

True when find occurs as a case-sensitive substring of value. False when find is absent AND ALSO when either value or find is empty or missing - an empty find is not treated as trivially included. Example: value="Abc" find="abc" -> false (case-sensitive).

A typical wiring for includes: the condition out pin feeds branch.

Studio canvas example for the includes block: typical wiring for includes.

Version history

Introduced in v10.4.28.


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