In an attempt to teach you to fish:
HTH
In reply to Re: how to split based on new line or others ? by bobf in thread how to split based on new line or others ? by bh_perl