Mino,
Something like this should probably work:
$var(x) = "1,2,3,4";
$var(i) = 0;
while(defined $(var(x){s.select,$var(i),,})) {
...
$var(i) = $var(i) + 1;
}
If the 'defined' operator always results 'true' on the results of this
transformation, then alternately this:
while($(var(x){s.select,$var(i),,}{s.len}) > 0)
-- Alex
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users