in reply to split on every n lines
awesome!! Thanks a ton hbm@ for so simple and easy solution. I underestimated the power of splice.