LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
  • Text
    • Overview
  • Boolean Checks
    • Check Text Contents
    • Check Text End
    • Check Text Start
    • Check Regex Match
  • Conversions
    • Convert Character to Number
    • Convert Number to Character
    • Convert Text Date to ISO Format
    • Convert Text to HTML
    • Convert Text to Number
    • Convert Text to Lowercase
    • Convert Text to Titlecase
    • Convert Text to Uppercase
  • Combine Texts
  • Extract Elements from Text
  • Extract Markdown Headings
  • Get Text Length
  • Removal
    • Remove Text Using Regex
    • Remove Text Using Substrings
  • Replacement
  • Splitting
Powered by GitBook
On this page
  • Overview
  • Syntax
  • Data
  • Parameters
  • Examples

Was this helpful?

Export as PDF
  1. Boolean Checks

Check Text Start

Check if a text is started by another text value.

Overview

This operation checks if a given text's starting characters match another text value. It acts as a conditional check, allowing you to perform additional operations depending on the statement's truth.

Syntax

the text is "{input}"
if the text is started by "{prefix}" then
    {action}

Data

The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.

Data Name
Can Be Renamed

the text

Yes

Parameters

Parameters are placeholders for data. Refer to the table below for details on each parameter in this operation. In the syntax, replace parameters with your own values.

Parameter
Description
Examples
Required

input

A text value.

Good morning!

Yes

prefix

A text value to check against the start of the string.

Good

Yes

action

An operation that occurs if input starts with prefix.

say "Thanks!"

Yes

Examples

the sentence is "Good morning, everyone!"
if the sentence is started by "Good" then
    say "Rise and shine!"
Rise and shine!

Last updated 7 days ago

Was this helpful?