Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    2,086

    Re: String.split("") puts null in the first index

    I don't see a blank in the String that the OP posted. Do you? What would trim do with no spaces?
  2. Replies
    5
    Views
    2,086

    Re: String.split("") puts null in the first index

    The first element in the array looks like an empty String, not null.
    I don't understand regular expressions to be able to tell you what an empty regexp String will do.
Results 1 to 2 of 2