>>>>> "Harkishin" == Harkishin Nachnani <[EMAIL PROTECTED]> writes:
  Harkishin> Thanks sven, but the string that I am parsing will always be something
  Harkishin> like "1,2,,4". How do I generate 4 strings out of this and make use of
  Harkishin> them in my servlet.
  Harkishin> Is there any other way to doing this ???

Outside of writing your own version of StringTokenizer that works the
way you want, I would preprocess the input, replacing two consecutive
delimiter occurrences with a space between them.

--
===============================================================================
David M. Karr     ; [EMAIL PROTECTED]  ; w:(425)487-8312 ; TCSI & Best Consulting
Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (6/12/2000)

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to