This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Java in General and the fly likes Digits in Array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Digits in Array" Watch "Digits in Array" New topic

Digits in Array

Maya Naga
Ranch Hand

Joined: Nov 09, 2009
Posts: 79
hi ranches...

i need a solution for the below problem...

here i try to save the entered number into an array..
for example: if user enters 1234, the result will be 4321and we can search for any number..
i try to save these 1234 into array as individual numbers...but am getting result as

is there any solution for getting result as
Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
Maya Naga
Ranch Hand

Joined: Nov 09, 2009
Posts: 79
thanks.. its works fine..
David Newton

Joined: Sep 29, 2008
Posts: 12617

Please, please don't provide direct answers like that--our goal is to help people learn how to learn.

It's obviously too late this time, which is too bad.
I agree. Here's the link:
subject: Digits in Array