SplitAfter slices s into all substrings after each instance of sep and returns a slice of those substrings.
package main import ( "fmt" "strings" ) func main() { fmt.Printf("%q\n", strings.SplitAfter("a,b,c", ",")) }