repeat

open fun repeat(@NonNull repeater: String, times: Int, @NonNull separator: String): String

Builds a string.

Return

The new string.

Parameters

repeater

The string to build.

times

The number of times to append the string.

separator

The separator string.