in reply to split and print

split, foreach loop, print

What problem are you having?