Quote:
Originally Posted by Rapidwolve
Here is the problem with substring.
PHP Code:
echo(temp.list.getdynamicvarnames("item_").substring(5,-1));
Echos 372,item_402
It only takes away the first five letters for the first string, and leaves the rest as it is
|
Ah yes
simple:
HTML Code:
for (temp.reMake: temp.list.getdynamicvarnames("item_"))
{
temp.newItems @= temp.reMake.substring(5);
}
message(temp.newItems);
Should work