I'm sorry... but I don't think we're understanding what you want to do...
If you have a string like 123\n456 and feed that to printf() or just about any other C display command, it's going to print as:
123
456
Now what do you want to see?
123456
If that's the case then you need to search for the \n which will probably exist in the string as either 0x0A and/or 0x0D and delete them before printing.