split() Problem
in
Programming Questions
•
1 year ago
Hey, I have this weird problem with the split() function.
The code below gives me the NullPointerException error.
- String value []=new String [2];
- String inBuffer = client.readString();
- String bufferfull=null;
- if (inBuffer != null)
- {
- bufferfull=inBuffer;
- }
- value= split(bufferfull, '#');
- println(value[0]); //error appears here
Cheers!
1