RosettaCodeData/Task/Unicode-strings/Go/unicode-strings-2.go

5 lines
87 B
Go

w := "voilà"
for i := 0; i < len(w); i++ {
fmt.Println(i, w[i])
}