Ah, that seems simple enough. Thanks.

Could you also tell me how to do the same, but receive the data as an array of strings? I can't see how I would adapt your example to make it do this...