Items to Variables

if i have a list of char items     x: s0s1s2s3`s4

how can i set them as variables pairwise to a list of strings so that s0:“A” s1:“B” etc… Thx.

set’[x;y]

e.g.

q)set’[x;count[x:`s0`s1`s2`s3`s4]#.Q.A]

Hello,

Please try:

,‘[x;,’[:;count[x:`s0`s1`s2`s3`s4]#.Q.A]]

Regards

Neetha