Subroutine and a test example:
ZIP of two lists into a single list of pairs
For example,
combining:
100,200,300,400,500,600
with
alpha,beta,gamma,delta,epsilon
to form
100 alpha
200 beta
300 gamma
400 delta
500 epsilon
600
by specifying:
- The input list delimiter (default, if omitted: ",")
- the string which will separate the two items of each output pair (default, if omitted: ",")
- the output list delimiter (default, if omitted: "\n")
(Note that this is a 'long' zip – where two input lists differ in length, each lonely item at the end is paired with an empty string)
→
test Macros.kmmacros (7.4 KB)