Problem in string.split() function
I have a string delimited by comma ex
"1,2,3"
How to split this string
I had tried the following
Variable_1="1,2,3";
Variable_2=Variable_1.Split(',');
Where Variable_1 & Variable_2 are System.String type.
I am getting error cannot implicitly convert type 'System.String[]'to 'System.String'I couldn not find the assembly for String array .
When i tried this expression
string[] Variable_1 = MatchRuleFields.Split(',');
where Variable_1 is a string type it is giving an error which is as follows identifier 'string' does not exist in MatchRulesOrches'; are you missing an assembly reference?
|