Renamed function cutLineBreaks to trim