Converts array of lines to string of lines.