I’m putting a concatenated string into the Tag property of a component this way:
Tag = String.Format("{0};{1};{2}", AThis, AThat, ATheOtherThing);
Now how do I get it out, as Tag is an object? Trying to do this:
String[] someStuff = Tag.Split(';');
I get, “‘object’ does not contain a definition for ‘Split’ and no extension method ‘Split’ accepting a first argument of type ‘object’ could be found
The type of
Tagisobjectbut theSplitmethod is onString. You need to castTagback toStringin order to callSplit