Concatenate several copies of a string.
Class
Transformational function
Result Type and Attributes
Character scalar with a length equal to NCOPIES * LENGTH(STRING), with the same kind type parameter as STRING.
Result Value
The value of the result is the concatenation of NCOPIES copies of STRING.
Examples
REPEAT ('H', 2) has the value 'HH'. REPEAT ('XYZ', 0) has the value of a zero-length string.