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
Hi, sometimes I get a string that has a line break, e.g.:
XyzVar=βstring starts here
but should continue on same lineβ
How can I remove any line break that might occur?
Thanks
Hello all developer.
iβm new in uipath and c#
i have issue. I extract data from some website. then we have data table right.
but deta in data table is like
[47]
and in write line show
[53]
I need to remove β\nβ because i need value inside \n$$$$\n.
I try use indexof find β\nβ it not found.
I try use replace(β\nβ) it not found.
I try use β\r\nβ,environment.newline
please help me i try to search and try to do.
Cheers @Hyun
1 Like
lakshman
(Ganta lakshman)
June 11, 2019, 8:29am
3
@Hyun
Assign above string to one string variable and say βStrβ. Then use below expression:
Str.Replace(β\r\nβ,ββ)
1 Like
Hyun
June 11, 2019, 8:38am
4
out_str = in_str.Replace (Environment.Newline, ββ
is working thanks
1 Like
system
(system)
Closed
June 14, 2019, 8:38am
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.