String operator *(
int times
)

Creates a new string by concatenating this string with itself a number of times.

The result of str * n is equivalent to str + str + ...(n times)... + str.

Returns an empty string if times is zero or negative.

Source

/**
 * Creates a new string by concatenating this string with itself a number
 * of times.
 *
 * The result of `str * n` is equivalent to
 * `str + str + ...`(n times)`... + str`.
 *
 * Returns an empty string if [times] is zero or negative.
 */
String operator *(int times);