Split string by new line

I am trying to divide a string by a new line but I get this error

image

it’s wrong?

Hi,

You need to set String array type variable in To property as the following.

arrayString = variable4.Split(System.Environment.NewLine.ToArray,Stringsplitoptions.RemoveEmptyEntries)

Regards,

2 Likes

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