How can i convert it?

From this :point_down:

image

To this :point_down:

image

There are hundreds of it in the excel sheet. Any ideas for a quick way ???

Hi @170290064

Try this

Vare.ReplaceLineEndings(" ")

image

Regards,

Hi @170290064

Try:
CurrentRow(“colName”).Replace(Environment.NewLine, “”)

1 Like

@170290064

Please try this

If you got the solution please mark it as solution to close the thread.

Regards,

Hey @170290064 ,

String.Join(“”,yoo.Split(Environment.NewLine.ToCharArray))
Replace yoo with your variable name and
Try this
image

1 Like

It worked thanks a lot :slightly_smiling_face:

1 Like

May i ask one more question ?

I want to write in the excel sheet and change the indicating columns like in the following.

image

What shoud i do after that ?

image

@170290064
In for each take assign activity
CurrentRow(“YourColumn”).ToString=CurrentRow(“YourColumn”).ToString.ReplaceLineEndings(" ")

1 Like

After that use write range workbook activity

originalDate.ReplaceLineEndings("")

This one works better :slightly_smiling_face:

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