Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-17-2006, 05:44 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
array member return limit function?

Well, I have no idea what I wrote in the title, well let me explain:

PHP Code:
temp.arr = { "foo""bar""baz"};
temp.new_arr returnarraylengthtemp.arr12);

echo( 
temp.new_arr); // would return bar,baz 
temp.new_arr would like produce { "bar", "baz"}
but is there a way to do this without loops or?

Well, this looks like a suggestion, I would like it to be added, but is there a way to do this?
(the example is the suggestion)
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.