Hello,
What I wish to do is the following:
Based on these two lists:
[TABLE="width: 100"]
<tbody>[TR]
[TD]Entry1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Entry3[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Create the following list:
[TABLE="width: 100"]
<tbody>[TR]
[TD]Entry1[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[/TR]
</tbody>[/TABLE]
In words that is: To make a list which repetes the content of column 1 as many times as specified by column 2.
I tried searching and writing such a function on my own but quickly ran into problems.
Can someone assist with an easy solution?
Thanks,
Daniel
What I wish to do is the following:
Based on these two lists:
[TABLE="width: 100"]
<tbody>[TR]
[TD]Entry1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Entry3[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Create the following list:
[TABLE="width: 100"]
<tbody>[TR]
[TD]Entry1[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[/TR]
[TR]
[TD]Entry2[/TD]
[/TR]
</tbody>[/TABLE]
In words that is: To make a list which repetes the content of column 1 as many times as specified by column 2.
I tried searching and writing such a function on my own but quickly ran into problems.
Can someone assist with an easy solution?
Thanks,
Daniel