{"id":5,"description":"go - split and join strings","tags":["golang","programming","shortcuts"],"contents":["// Use strings package to split and join strings","sentence := \"Minus eos autem rerum voluptas qui quisquam\"","words := strings.Split(sentence, \" \")","fmt.Println(strings.Join(words, \",\"))","// to split strings by whitespace","fmt.Println(strings.Fields(\"this is a space separated sentence\"))"]}
