> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# REPT

> Repeats specified text content across various YiDA scenarios, including Form, workflow design, integration & automation, and more. Given the text and a repeat count, it returns the repeated text.

The **REPT** function repeats specified text content.

## Supported Product Scenarios

The REPT function is supported in the following YiDA scenarios:

* Form (main table Fields)
* Form (business Association rules)
* Form (validation)
* workflow design (validation rules)
* workflow design (Association Actions)
* integration & automation
* Workflow - node
* Connector

## Format

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
REPT(text, number_times)
```

## Attribute Description

| **Attribute** | **Required** | **Description**                         |
| ------------- | ------------ | --------------------------------------- |
| text          | Yes          | The text to repeat.                     |
| number\_times | Yes          | The number of times to repeat the text. |

## Return Value

| **Return value type** | **Description**                                          |
| --------------------- | -------------------------------------------------------- |
| Text                  | The text content repeated the specified number of times. |

## Usage Example

The Formula in the image below returns: `YiDAYiDAlow-codelow-code`.

## Try It Out

Repeat the value of a Single-line text Component a specified number of times.
