1
Answer

Error using split

howard.kline

howard.kline

20y
1.9k
1
Does anyone know why I am getting an error when I run this? private string cutString(string str) { char[] cDividers = {' ','>','<'}; string[] segment; segment = str.Split(cDividers); return segment[0].ToString(); } Error: An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module. when I remove the '<' it will run fine.
Answers (1)