View Single Post
  #4  
Old 12-17-2006, 06:22 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally Posted by Chompy View Post
Nope, I want to return a length specified in an array..

Example:

If I had an array containing { 1, 2, 3, 4, 5, 6}; I would like to return a length of the array,
I would like to return like { 2, 3, 4, 5}; of the current array, is there an way to do this?
Oh, like this? This is what Andrew suggests...

Quote:
temp.myArray = {"Test", "Hi", "Boo", "loltest", "Ahh"};
echo(temp.myArray.length() - (temp.myArray.size() - 1));
__________________
V$:CONFL16T
Reply With Quote