delete. Deleting key/value pair

^hash.delete[key]
^hash.delete[]   [3.4.4]

The method deletes specified key/value pair from hash.If called without arguments all hash fields will be deleted.

Example
Code…

^man.delete[name]

…will delete key
name and related value from hash $man.


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 30.03.2016