How to append a line that is seperated by new line?

i have a string file in which one part of the data is in one line while the other part is on the next line how to i append the two??please help ut

Fine
— use a read text file activity and get the output with a string variable named out_text
— then use a assign activity like
Out_text = String.Join(“ “,out_text.Split(Environment.Newline.ToArray()))

We can check the value with writeline activity like
Out_text.ToString
This will make as single a line

Hope this would help you
Cheers @Royzz

Hi its coming like this
capture2|690x58
While i would require like this
Capture3

1 Like

Fine
can i have a sample of that text file so that i could give you a xaml working for that
and kindly mention how the output format should be for the given input text file as
well
Cheers @Royzz

it should look like thisCapture3

Fine
how is the input given
Cheers @Royzz

This is the inputfileCapture4

1 Like

here you go
hope its resolved
Royzz.zip (10.3 KB)

Cheers @Royzz

yeah thanks a lot

1 Like

Fantastic cheers
@Royzz

1 Like

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