in reply to arrays help

Seems that you want to fill @subsetA and @subsetB based on the filenames contained in @fullarray.

I would propose the following apporach

HTH, Rata