Skip to content

cu_string_contains en

mouse114514 edited this page Sep 12, 2026 · 1 revision

String Contains

String Contains

Overview

Checks whether string STR contains the substring SUB.

Slots

Slot Type Description
STR String slot the string to check
SUB String slot the substring to look for

Connections

Connection Type Description
Output Boolean true when the string contains the substring

Typical Uses

  • Check if an item name includes a specific character
  • Check if a command starts with a prefix

Generated Code

Emits STR.Contains(SUB).

Block ID: cu_string_contains


中文 | Value Reporter Blocks | Block Reference

Clone this wiki locally