starts with

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

starts with v10.4.28

Determines whether a string begins with the characters of a specified string

In pins 2
  • value required
    value

    Input string to be checked

  • starts with required
    value

    Characters to be searched for at the start of this string

Out pins 1
  • condition
    condition

    Result of whether the input string starts with the specified characters

True when the string form of value begins with the string form of startswith, case-sensitive. False whenever EITHER input is falsy before comparison - nil, missing, empty string, 0, or false - so an empty prefix never matches. Example: value="Abc" startswith="abc" -> false.

A typical wiring for starts with: value feeds the value pin; value feeds the startswith pin; the condition out pin feeds OR.

Studio canvas example for the starts with block: typical wiring for starts with.

Commonly used with

In production blueprints, this block is most often wired together with:

  • get fields: feeds into this block. Gets the selected fields from the given object.
  • value: feeds into this block. Simply returns the provided value.
  • OR: this block feeds into it. operator for a set of operands is true if and only if one or more of its operands is true.
  • AND: this block feeds into it. operator for a set of boolean operands will be true if and only if all the operands are true.

Version history

Introduced in v10.4.28.


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