thines01
Postaholic
2,425 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
What happens? Do you get errors? If so please copy and paste the full text here.
Otherwise show the programs output and explain what is wrong with it.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
Can you make a test program with a String containing the delimiters and data that you want to print instead of requiring a separate test file. I assume that you do not need more than one line to show the problem.
Then we can all look at exactly the same code and data and see what the problem is.
For example:
line = "The String > to test < right here";
Where in your code do you determine whether the token you are getting is before or after the delimiter? I only see a println() to show all the tokens.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
out put is
just like this
What is wrong with that output? You need to explain what the output should look like.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
If you want help, look at my suggestion about writing a test program that I described in an earlier post. Put everything in ONE file and post it.
Execute the program, show what it outputs and say what is wrong with the output.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
@dheaven:
Having looked at your previous posts, I'm assuming that you are either affiliated with the blog in consideration or own it. Posting self links is not recommended here and is seen as promotion. If you want to redirect users to your blog/help them, link your blog in the signature and refer them to it rather than having links as the post content.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734