split text before appending to the end of a list