Repeat Substring
Creates a new string consisting of a substring repeated a certain number of times.
Examples in
Go
package main
import (
"fmt"
"strings"
)
func main() {
fmt.Println("ba" + strings.Repeat("na", 2))
}