I had some code that would use a character as a delimiter.
I found that there was a possibiliyt the character would be in the list so I have to split on a more complicated string.
When I try what is below, it says I can't convert "delim1" from a string to a char. I don't want to use a char, I want a string and the split overload has string as an option. Why won't this work?
string delim1 = "<;>";
string[] arrSplitContent = strContent.Split(delim1, StringSplitOptions.RemoveE
mptyEntrie
s);
Start Free Trial