This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Retrieve delimetted value from String
Joined: Jan 09, 2003
Dec 15, 2004 06:27:00
, I have value as String vTest = "ABC#XYZ#PQR#STV"
How do i retrieve the value ABC, XYZ each by each which is delimetted by #
Joined: May 15, 2001
Dec 15, 2004 06:34:00
Joined: Dec 09, 2004
Dec 15, 2004 17:27:00
will work, the split method works for simple strings and delimiters like this. See <http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(
Joined: Jan 29, 2003
Dec 15, 2004 17:41:00
And in JDK 5 you can try Scanner. So many ways to solve one problem!
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
subject: Retrieve delimetted value from String
Doubt regarding REAL EXAM
Passed SCJP with 96%
can class be declared static?
Collection in java
Strings and their constant pool
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014