This week's giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Production-Ready Serverless (Operational Best Practices) and have Yan Cui on-line! See this thread for details.
I just finished a class in Java and am excited to make something fun like a trivia game with Swing. But I have come up against my first question - I learned to tokenize data in text files - but that was only on one piece of data.
Let me clarify - I know how to take a text file that has say 3 pieces of data per line, like: Towels 5.00 Housewares and tokeize that into 3 pieces of seperate data, BUT if I want to put 3 pieces of data for my trivia game like A) Question B) Answer and C) Point total I have problems because the QUESTION would have several spaces in it.
Can someone explain to me how I can make this work?