# Repeat

The **Repeat** function returns the results of repeating a string a specified number of times.

### Syntax

```
Repeat(string, number)
```

Repeat has the following arguments:

<table><thead><tr><th width="258"></th><th></th></tr></thead><tbody><tr><td>string</td><td><p>Required</p><p>The string that the function repeats number</p></td></tr><tr><td>number</td><td><p><br>Required</p><p>The number of times the string repeats. The zero, <code>0</code>, and negative values both return a <code>NULL</code> string.</p></td></tr></tbody></table>

### Examples

```
Repeat([Product Type],0)
```

The **Repeat** function returns the following values for the **Product Type** column:

<figure><img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/img/function-repeat-example.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/repeat.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.
