Answers for "string to char array golang"

Go
0

go make string from char array

chars := []rune{'h','e','l','l','o'}
str := string(chars)
fmt.Println(str) // hello
Posted by: Guest on May-12-2021

Browse Popular Code Answers by Language