Tokenize a string: Difference between revisions

→‎{{header|Go}}: small update for library change
(Fix UnixPipes for inputs like "many spaces,in string". Fit bash example in 80 columns. Two examples work with Bourne Shell, and bash example works also with pdksh.)
(→‎{{header|Go}}: small update for library change)
Line 512:
func main() {
s := "Hello,How,Are,You,Today"
fmt.Println(strings.Join(strings.Split(s, ",", -1), "."))
}</lang>
 
1,707

edits