Nick

Nick

  • NA
  • 1
  • 0

The "\" character?

May 17 2006 3:48 PM
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)