Bloomberg interview question

How to encode arrays via strings.