A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
parsing strings
Randy Trover
Ranch Hand
Joined: Feb 26, 2001
Posts: 34
posted
Jul 20, 2001 06:44:00
0
Hi all,
I need to parse out the individual tokens from a comma delineated
string
. "123,23,,34,36" ect. Does
java
give you a string handling function to do this or do I have to write my own? Thanks for any help.
Cheers
Randy
Junilu Lacar
Bartender
Joined: Feb 26, 2001
Posts: 4134
2
I like...
posted
Jul 20, 2001 06:47:00
0
the
java.util.StringTokenizer
will do the job for you.
Junilu - [
How to Ask Questions
] [
How to Answer Questions
] [
MiH
]
William Barnes
Ranch Hand
Joined: Mar 16, 2001
Posts: 984
I like...
posted
Jul 20, 2001 06:50:00
0
Stringtokenizer
"http://java.sun.com/products/jdk/1.1/docs/api/java.util.StringTokenizer.html"
Please ignore post, I have no idea what I am talking about.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: parsing strings
Similar Threads
Working with RDF
Creating a TreeMap form Enumerated Zip Entries
Class definition
how do i encrypt/decrypt query string.
Java Strings
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter