remove new lines from strings