A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
sort the String values in String array?
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
posted
Apr 10, 2009 20:39:28
0
How to sort the
String
values in String array?
String[] names = new String[3]; names[1] = mary; names[2] = nancy; names[3] = jack;
Moojid Hamid
Ranch Hand
Joined: Mar 07, 2009
Posts: 120
posted
Apr 10, 2009 20:41:35
0
use Arrays.sort()
David O'Meara
Rancher
Joined: Mar 06, 2001
Posts: 13459
I like...
posted
Apr 10, 2009 22:50:19
0
java.util.Arrays
I agree. Here's the link:
http://aspose.com/file-tools
subject: sort the String values in String array?
Similar Threads
Fixing a bug on Adding & Deleting an Array index
Descending order and associating Array Elements in sort method to another's elements
need help sorting a string array alphabetically
concurrency error
array?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter