View Single Post
  #16 (permalink)  
Old 06-02-2008, 04:08 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

unshift() - Places element at the start of an array
Code:
words = new Array("finish","complete","In","Out")
word = words.shift("limit","lines")
The array, words, will be:
Code:
limit, lines,finish, complete, In, Out
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote