---
title: Check beginning of text in Centrldesk
description: Check beginning of text in Centrldesk
---

[Centrldesk help center ](https://www.centrldesk.com/help)

# [Check beginning of text in Centrldesk](https://www.centrldesk.com/help/library-text-functions-startswith)

 Written by [Sebastian](https://www.centrldesk.com/help/author/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

[View full post](https://www.centrldesk.com/help/library-text-functions-startswith)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sebastian"
  },
  "dateModified" : "2022-04-29T07:13:26.723Z",
  "datePublished" : "2022-03-28T16:59:10Z",
  "headline" : "Check beginning of text using Text Start With block",
  "image" : {
    "@type" : "ImageObject",
    "height" : 520,
    "url" : "https://7836215.fs1.hubspotusercontent-na1.net/hubfs/7836215/library-text-functions-startswith-1.png",
    "width" : 1900
  },
  "mainEntityOfPage" : "https://www.centrldesk.com/help/library-text-functions-startswith",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Centrldesk help center"
  }
}
```