in reply to split and print

We could be a lot more help to you if you showed us what you've tried. Show us your code! :)