8 Replies Latest reply: Mar 16, 2008 5:43 AM by 800308 RSS

    A question about String.split() ?

    807591
      This is my code:
      String str="#####";
      String []strs = str.split("#");
      System.out.println(strs.length);
      The output is 0. I want the result to be a 6 length String array with null value. Does String support this?