Strings In Depth4 / 17
Up next

Repeat

fun main() {
    // repeat concatenates n copies
    println("ab".repeat(3))
    println("=".repeat(10))
}
What you're solving

build a string by repetition