Delete by key is much simpler, just write command below to remove element with key “b”:
:set ($rot13->"b")
It is crazy but :find not works with such arrays. You have to use foreach loop and search index or key manually by checking each element.
Example of iterating through keys/values:
:foreach k,v in=$rot13 do={:put ($k,$v)};
or by index/values:
:for i from=0 to=([:len $rot13]-1) do={:put ($i,[:pick $rot13 $i])};
[quote=devquora post_id=644233 time=1519380870 user_id=115903]
The array_keys() function is used to get all the keys or a subset of the keys of an array.