I don't see a blank in the String that the OP posted. Do you? What would trim do with no spaces?
Type: Posts; User: Norm
I don't see a blank in the String that the OP posted. Do you? What would trim do with no spaces?
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.