3 Replies Latest reply on Feb 27, 2007 11:20 AM by 807599

    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?