View Single Post
  #12  
Old 05-23-2007, 07:53 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by JkWhoSaysNi View Post
Yeah, but then to echo 1,2,3 you have to create a counter anyway or then do array.index(temp.currentarray);
no.

HTML Code:
for (temp.currentArray: array)
{
  if (temp.currentArray.pos("foo") >= 0)
  {  
    echo(temp.currentArray.substring(3));
  }
}
__________________
Reply With Quote