This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:faq:main [2019/08/02 17:10] henningw [General] |
tutorials:faq:main [2019/11/19 15:52] miconda |
||
---|---|---|---|
Line 516: | Line 516: | ||
??? How to iterate through the items in a comma separated string? | ??? How to iterate through the items in a comma separated string? | ||
- | !!! If you have a variable holding a string like " | + | !!! If you have a variable holding a string like " |
Here is an example: | Here is an example: | ||
Line 523: | Line 523: | ||
$var(x) = " | $var(x) = " | ||
$var(i) = 0; | $var(i) = 0; | ||
+ | $var(n) = $(var(x){s.count,, | ||
- | while( $(var(x){s.select,$var(i),, | + | while( $var(i) <= $var(n) ) { |
| | ||
| |