Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!

John Guilliani

Greenhorn
+ Follow
since Oct 11, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by John Guilliani

Is there a way to count the number of times the smallString is found in reverse order as well? For example if the BigString = "Mississipi" and the SmallString = "is". The number of occurrences would be 4. Counting the occurrences of "si" as well.
M(is)(s(i)s)(si)pi.
14 years ago
Thanks Maulin, I see what you mean, but the exercise asks me to use the following layout:

Then call System.out.println(myExtractor.nextDigit()) five times.
Any suggestions?
John
[ October 11, 2003: Message edited by: John Guilliani ]
[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ October 12, 2003: Message edited by: Dirk Schreckmann ]
15 years ago
I'm trying to figure out how to read in an integer and break it down into a sequence of individual digits in reverse order. Example: an integer input of 12345 gives an output of
5
4
3
2
1
Any help will be greatly appreciated.
Thanks in advance,
John
15 years ago