Removing unnecessary \n in strings; they make length() return something other than expected