I still don't think this is the right approach - naturally next there'll need to be inserting at index, deleting at index, appending to end etc. - and that is basically reinventing everything the Array object does.
For the next release cycle I've added a "split string" action for Array, which can take a string like "1,2,3" and set the array to hold those three elements, and a "join string" expression, which can return a string like "1,2,3" of the array contents again. Then you can use all the existing Array features to set, delete, insert etc. items before returning a string again.