Click here to Skip to main content
15,880,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I'm making an application using Code Gear. In that a binary data is send by SOAP. In that a field is encoded in base64 format. But the problem is if the base64 encoded data exceeds 76 characters, it automatically inserts '\r\n'. This is no acceptable for my application. How can i remove this?
Posted
Updated 21-Nov-19 14:57pm

1 solution

Here is your soluation.

C#
string data = "Rajesh\r\nAnuhya";
            MessageBox.Show(data);
            MessageBox.Show(data.Replace("\r\n", ""));



Thanks
--RA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900