Skip to content

repeat

In std/string.

fn repeat(self, times: Int) : String

self written times times in a row; "" for times below 1: "ab" | repeat(3) is "ababab".