package util func ReplaceAtIndex(s string, r rune, i int) string { out := []rune(s) out[i] = r return string(out) }