Centrldesk help center

Check beginning of text in Centrldesk

Written by Sebastian | Mar 28, 2022 4:59:10 PM

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:

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

Example B:

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