Split error

Hello,

I had to split a copy from a screen according to a value from a datatable:


image

got the following error:

image

Split usually takes a char array. You can see all of the options here.

For the example you have here you would use
P_ScreenOuput.ToString.Split(String_to_Split.ToCharArray)

Try like this.

P_ScreenOutput.ToString.Split(String_to_Split.ToString, StringSplitOptions.None)

I don’t think this would work. The first argument can be a string array but not a string.