Split string not working and throwing two errors

When I try to use the split function I find it has two different errors that pop up. One is in the textbox of the assign I call it in and it says “‘Split’ is not declared. It may inaccessible due to its protection level.” And then there is another on the top of the assign activity that says “Cannot assign from type ‘System.Object’ to type ‘System.String’ in Assign activity”. The splits were working fine in the past then all of a sudden this happened and I do not know how to fix it.

Hi @Kevin_Case

Can you show what you did in assign activity…


My assign activity is

string_split = Split(string, “,”)

I tested it again in another file and had it not throw an error immediately, I ran it once and then when I went back to the assign it would have the errors again.



Worked like a charm, cheers!

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