How it works
Copies the input string an integer number of times and joins the copies with the selected separator. The count is clamped to 1–1,000. The size guard checks input length multiplied by count; separator length is not included.
Repeat text a chosen number of times with an optional separator.
Ha
HaHaHa
Copies the input string an integer number of times and joins the copies with the selected separator. The count is clamped to 1–1,000. The size guard checks input length multiplied by count; separator length is not included.
Build a repeatable test pattern or a sample with delimiters. With input ha, count 3, and separator -, the output is ha-ha-ha.
Check the count and separator if the result differs from what you expected. Counts above 1,000 are capped; a repeated input length over 1,000,000 triggers an error. A long separator can make the final output longer than that checked input total.
The guard rejects an input-string length multiplied by the count above 1,000,000. It does not include separators in that calculation, so a long separator can make the joined output exceed that figure.
The input area shows the accepted format and available controls for this tool.
No. Your input is handled in the browser you are using. Privacy