Returns individual lines from strings without linefeeds.