Quote:
Originally Posted by JkWhoSaysNi
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));
}
}