# 22. Virtuoso Functions Guide - dict_remove

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
dict_duplicate
dict_get
dict_list_keys
dict_new
dict_put
dict_remove
dict_to_vector
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## dict_remove

Removes the given key and associated dependent value from the given dictionary.
int dict_remove (inout dict dictionary, inout key any);
Description

The function removes the given key and the associated dependent value from the given dictionary. If the key-value pair is found (and removed) the function returns 1. If the dictionary does not contain a key equivalent to the given one the function returns zero.

Parameters
dict – Dictionary object to process.
key – Key of a key-value pair that should be removed from the dictionary.
Return Types

Integer flag indicating if a key-value pair has been found and removed.

See Also

dict_new

dict_put

dict_get

dict_duplicate

dict_to_vector

dict_list_keys