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.