Different representation of the data of a string

Hi,

how can I move this data to the clipboard, but not separated with the " | " but one below the other as a string (new line by line):

this is the code for the string:
strAllSDs = String.Join(“|”, dtFiltered.AsEnumerable.Select(Function (x) x(YourColNameOrIndex).toString.Trim))

it should then be inserted into SAP. There is a button where you can take over data from the clipboard.

image

Give a try on

strAllSDs = String.Join(Environment.NewLine, dtFiltered.AsEnumerable.Select(Function (x) x(YourColNameOrIndex).toString.Trim))

1 Like

Hi @juergenh1975

Use @ppr’s answer, then use the Set To Clipboard activity. Set your input text for the text to be copied.

image

Kind Regards

1 Like

perfect ! that’s it !
thx for all your support
BR

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