Splitting strings in Go
Posted on 31 May, 2020
Splitting strings in Go is done by using the Split()
method. You need to import the strings
standard library to use this.
Demo
The split()
return a Go Array, running this program should print the following:
Last updated