ez.no / exponential / documentation / reference / template operators / strings / repeat
$input_string|repeat( count )
| Name | Type | Description | Required |
|---|---|---|---|
| count | integer | Number of repeats. | yes |
repeated version of input string.
This operator returns a repeated version of a string. The count parameter defines the number of times the string should be repeated. This operator also works with arrays, look for the same operator in the arrays category.
{"*DJ Cat Show* "|repeat( 2 )}
returns the string "*DJ Cat Show* *DJ Cat Show* ".
Comments