View Single Post
  #13 (permalink)  
Old 05-27-2008, 01:32 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: Manipulating in array

sort() - Sorts the array elements in dictionary order or using a compare function passed to the method.

Code:
words = new Array("limit","lines","finish","complete","In","Out")
word = words.sort()
The value of words becomes:

In,Out,complete,finish,limit,lines
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote