assignment 4.1, string delimiter