A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Joined: Feb 18, 2008
Feb 03, 2009 03:21:29
I need to Sort the
which is like "200036.922.214.171.124.16.1613454297". which have the number separated by the period(.).
And its Unique. Please give me some ideas..
Joined: Mar 22, 2005
Feb 03, 2009 03:26:29
What does it mean to sort a string? What would this particular string look like after "sorting"?
You can obtain a list of all substrings using a String.split("\\.") method call.
Ping & DNS
- my free Android networking tools app
Joined: Oct 02, 2003
Feb 03, 2009 06:26:40
do you want to take a single string, break out the parts, and sort those?
or will you have dozens of strings like this, and you want to sort all of those based on various fields within the string?
and what do you mean by "it's unique"?
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I agree. Here's the link:
Parking the car....
Jboss Experts - Bangalore
how can i insert a null value in a table
Ant Build Successful but neither jar file nor build folder created ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014