Answers for "how to convert array of rune to string in go"

0

how to convert array of rune to string in go

s := string([]rune{'\u0041', '\u0042', '\u0043', '\u20AC', -1})
fmt.Println(s) // ABC€�
Posted by: Guest on August-24-2021

Code answers related to "how to convert array of rune to string in go"

Browse Popular Code Answers by Language