Found the problem - was using old syntax for xform strToArray