A function to split ios stack traces w/o newlines.