Answers for "golang string to array"

Go
0

golang string to array

toArray := strings.Split("you must be pray before learn anything", " ")
fmt.Printf("this is array %v and type data is %v", toArray, reflect.TypeOf(toArray))
Posted by: Guest on October-04-2021

Browse Popular Code Answers by Language