You want to set the delimeter to null ? You do realise what null is - a null pointer in memory - ie, a pointer to an address in memory that does not actually hold anything.
Your question does not make programmatical sense ...
If you want to set multiple delimiters, you can use the String.split method, which is recommended as a replacement for a StringTokenizer in any event. split() takes a regular expression as its delimiter, so you can split on commas and null bytes something like this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.