|
-
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.
For example:
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!
Similar Threads
-
Replies: 0
Last Post: 08-08-2005, 09:46 AM
-
By Murray Foxcroft in forum Web
Replies: 5
Last Post: 11-02-2000, 02:42 AM
-
Replies: 1
Last Post: 04-19-2000, 12:13 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks