Text

Check beginning of text using Text Start With block

Check beginning of text in Centrldesk

The Text Starts With block is used to check if a text starts with another text.

If the text begins with the text to be checked, it evaluates to true. If not, false is returned. The check is case-sensitive.

Example A:

library-text-functions-startswith-example-1-1

The result of input text 'Hello Centrldesk' and search text 'Hello' is true.

Example B:

library-text-functions-startswith-example-2-1

The result of input text 'Hello Centrldesk' and search text 'Centrldesk' is false.

Result:

True or false depending on whether the search text is right at the beginning of the text.

Tips and best practices:

Spaces are also compared. Additionally use the Trim Text block to remove spaces at the beginning and end of the text.

Library:

Text

Similar posts

Subscribe to our newsletter

Stay up to date on upcoming news and topics of creating web apps without code.