Returns the specified text repeated the specified number of times.
Syntax Copy Code |
---|
REPT( Text text, Integer count ) → Text |
If count is 0, the function returns an empty text. If count is less than 0, REPT returns the #VALUE! error value. If count is not integer, it is automatically truncated.
Formula Copy Code |
---|
=REPT("-",10) |
Function Reference
LEFT Function
MID Function
RIGHT Function
SUBSTITUTE Function