hash_values — return all the string values of a hash as a stringlist
This function works on a hash created by hash_create. If the given hash stores strings as its values, these values will be returned in a stringlist, elements of which are in random order. For an empty hash, the returned stringlist contains nothing.
$hash = hash_create; hash_set $hash "mykey1" "myval1"; hash_set $hash "mykey2" "myval2"; hash_set $hash "mykey3" "myval3"; $vals = hash_values $hash; #vals is now a stringlist containing "myval1", "myval2" and "myval3"