Answers for "golang array of chars"

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

Code answers related to "golang array of chars"

Browse Popular Code Answers by Language