Name

repeat — returns a new string consisting of its string argument repeated a given number of times

Synopsis

repeat ( in str string ,
  in count integer );
 

Description

repeat returns a new string, composed of the string str repeated count times. If count is zero, an empty string '' is returned.

repeat('bar',2) -> 'barbar'