---
title: Contains a text another text in Centrldesk
description: Contains a text another text in Centrldesk
---

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

# [Contains a text another text in Centrldesk](https://www.centrldesk.com/help/library-text-functions-contains)

 Written by [Sebastian](https://www.centrldesk.com/help/author/sebastian) | Mar 30, 2022 1:11:07 PM

The Contains block is used to check if a text contains another text.

If the text contains 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 'Welcome to Centrldesk' and search text 'to' is true.

Example B:

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

Result:

True or false depending on whether the text contains the search text.

Tips and best practices:

 The check is case-sensitive. To solve the case-sensitive problem, use the To Lower Text or the To Upper Text block before comparing texts.

Library:

Text

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

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sebastian"
  },
  "dateModified" : "2022-04-29T07:27:23.593Z",
  "datePublished" : "2022-03-30T13:11:07Z",
  "headline" : "Contains a text another text using Text Contains block",
  "image" : {
    "@type" : "ImageObject",
    "height" : 520,
    "url" : "https://7836215.fs1.hubspotusercontent-na1.net/hubfs/7836215/library-text-functions-contains-1.png",
    "width" : 1900
  },
  "mainEntityOfPage" : "https://www.centrldesk.com/help/library-text-functions-contains",
  "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"
  }
}
```