The Artima Developer Community
Sponsored Link

Java Answers Forum
testing a delimeter

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
ben

Posts: 57
Nickname: loftty
Registered: Oct, 2002

testing a delimeter Posted: Nov 27, 2002 8:26 AM
Reply to this message Reply
Advertisement
could someone please help me?
how can i test to see if the last token is a delimeter or not,
and if it is a delimeter (comma) i want to read it in as a blank string.
for example: ben,riches,
now i want three tokens.
ben
riches
"empty string"
also if the line starts with a comma i want it to print out a empty string.
could someone please give me some ideas?
thanks
ben

Topic: after upload , move the file and delete it Previous Topic   Next Topic Topic: chat - client server problem!!!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use