I need to seperate 1 input line into 4.
My program directs me to have the user input 1 input line containing 4 rational numbers representing, length, width, thickness, and weight. They will be seperated by commas.
4, 4, .009, .0015
I then have to take those values and make various If statements to group them into the right category.
What I need help on is splitting the input line into 4 values. Is there some class, part of java.lang.object? Is it stringtokenizer?
ASAP please. THANKS!
Last Post: 08-08-2005, 10:46 AM
By Murray Foxcroft in forum Web
Last Post: 11-02-2000, 03:42 AM
Last Post: 04-19-2000, 01:13 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL