You could just save your array with the array.asjson expression and in the next session load it back in via load from json action.
example results of using tokenat:
tokenat("a;b;c", 0, ";") = "a"
tokenat("a;b;c", 1, ";") = "b"
tokenat("a;b;c", 2, ";") = "c"
You should be able to deduct what's happening ^^.