Array.serialize(array)

Encode the array as a string that can be stored in the SPUPad or passed to the Netezza database as a varchar value and later deserialized back into an array.

Example
saveString("myarray", Array.serialize(arr))