This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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.
It is sorta covered in the JavaRanch Style Guide.
subject: Digits in Array
jQuery in Action, 3rd edition