append

append the given Char to this StringBuilder, repeated repeats times.

This function is equivalent to doing sb.append(c.repeat(repeats)), but it uses an already existing StringBuilder.

Throws