3 Replies Latest reply: Feb 27, 2007 5:20 AM by 807599 RSS

    Problem splitting a string.

      Hi All,

      I'm trying to split a string by using the white space reg exp ie:
      result = cmdSplit.split("\s");
      However, this won't compile. I get an "illegal escape character" error.
      This is for Java 1.4.
      Any Ideas?