remove from map(key a, name of map b)
Group |
Removes the key-value pair with key a from a map b.
The return value of the function is the value of the removed key. If the map is an Inherited Value, only the visible value will be returned.
Note: 'Hidden' values can be removed as well. See the explanations for the Empty Flag.
Description of Parameters
Parameter |
Description |
a |
Key of the key-value pair to be removed. |
b |
(optional) Name of the map. Default: default |
Examples
Assume a map myMap with the elements {key1=val1, key2=val2, key3=val3}.
Parameter a |
Parameter b |
Result |
Elements in map |
myMap |
key2 |
val2 |
{key1=val1, key3=val3} |
myMap |
key2 |
|
{key1=val1, key3=val3} |
myMap |
key1 |
val1 |
{key3=val3} |
See Also
add to inheritance-map(key a, value b, name of map c, inheritance level d, regex for empty e)
csv-into-map(file a, [mapname b], [keycol(s) c], [csv delim d], [csv encoding e], [clear first f])
fill-map-from-fields( map a, prefix b, index c, hidden d, [processing e] )
get value from map(key a, name of map b, delimiter c, item d)
increase map value(key a, value b, map name c, skip empty d)
select into map(a,b,[param &1 = c], d,e, f,g,h,i,j], delimiter k, map l, m)