Remove \r\n

%EC%BA%A1%EC%B2%98

i want removed \r\n

How can i do?

2 Likes

Hi Buddy

We can either use two of these
string out_str = in_str.Replace(Environment.Newline,"")
or
string out_st = in_str.Replace(VbCrLf,"")
For more info on this, hope this could help you @Hyun


Cheers @Hyun

1 Like

@Hyun

Assign above string to one string variable and say ‘Str’. Then use below expression:

Str.Replace("\r\n","")

1 Like

out_str = in_str.Replace (Environment.Newline, ""

is working thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.