The Artima Developer Community
Sponsored Link

Java Answers Forum
testing the last token

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 the last token Posted: Nov 27, 2002 1:23 AM
Reply to this message Reply
Advertisement
hello everyone can someone help me please?
i want to be able to test the last token, to see if it is a delimeter or a string. if the last token is a delimeter (comma), i want an empty string to be put in my vector.
i already have tested to see if between two delimeters is a empty string or not and that works fine, but i am a bit stuck on how to see if the last token is a delimeter or not.
could someone please give me some ideas or solutions.
thanks
ben

Topic: help with counting the number of lines and tokens Previous Topic   Next Topic Topic: Java Servlets

Sponsored Links



Google
  Web Artima.com   

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