2
I have an array, and in its contents it has a serialized value. I would like to separate these values and place each value in another array (with properly separated indexes). Follow my code:
data = ["["RibS7K/JS+ZTYtjDxqh5hg==","lO/CWn5lb3eqCkDhm9PpwA=="]", "["teste a","teste b"]", "[24351,24352]", "["png","png"]", "["teste a","teste b"]", "[7,6]", "[107.0,99.0]"]
newObject.idCrip = data[0];
When will I put in newObject.idCrip
receives data[0]
, he gets ["RibS7K/JS+ZTYtjDxqh5hg==","lO/CWn5lb3eqCkDhm9PpwA=="]
and not with two separate values and this is getting in my way. Any solution?
I would simply like to withdraw the values of
["RibS7K/JS+ZTYtjDxqh5hg==","lO/CWn5lb3eqCkDhm9PpwA=="]
to stayRibS7K/JS+ZTYtjDxqh5hg==
andlO/CWn5lb3eqCkDhm9PpwA==
– tiagopotencia
Have you tried what I suggested? It worked? It returns an array, with the first value at zero and the other at one.
– bfavaretto
It worked @bfavaretto! Thanks a lot!
– tiagopotencia