I'm reading xsl file using XSLReader class, and one of the columns contains strings but sometimes this string have enter in the (\n), so when I read this and print it I'm printing the string with the \n:
those are two addresses, the first one have enter in the xsl string, and the second doesn't...
VIALE SALVATORE REBECCHINI 39 \n00148 ROMA RM\n viale castello della maglina,65-00148 roma
someone suggested some solution but it didnt work, i had to import common-lang3 and it looks like this:
this.supplierAddress = StringEscapeUtils.escapeJava(info);
it suppose to ignore the \n but it dosen't..