1
Answer

The "\" character?

Ask a question
Nick

Nick

18y
1.8k
1
Hi I am making a program in Visual studio 2005, but I have run in to a problem. The compiler will not accept the following line of code: string[] strsplit = strFileName.Split(new Char[] {'\'}); The compiler will however accept this line of code: string[] strsplit = strFileName.Split(new Char[] {'2'}); So the problem must be the “\” character. Is there anyone who knows how to make the compiler accept this specific character? Nick_L

Answers (1)