# Like

Returns true if the string value matches the case-sensitive pattern.

### Usage

```
Like(string, pattern)
```

\
**string** (required) The text string that is being searched.

**pattern** (required) The search pattern.\
An '\_' matches any character.\
A '%' matches any sequence of zero or more characters.

#### Examples

```
Like("Piano", "P\_ano") = true
```

```
Like("Boat", "G\_te") = false
```

**Try it in Sigma Sample Data**

In Sigma's sample baby name data, the following formula returns *true* for values in the \[Name] column that include “em”, like “Gemma” and “Jeremy”.\
The Like function is case-sensitive, so string values such as "Emma" returns false.&#x20;

```
Like([Name], “%em%”)
```

<figure><img src="https://files.readme.io/62aa331-mceclip0_1.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/text-functions/like.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
