Script functions reference > Script functions in alphabetical order > D > DelMapKey

DelMapKey
Syntax
DelMapKey(str_mapName, str_key);
str_mapName
str_key
Description
Deletes an entry specified by str_key from the map str_mapName.
Returns
A number indicating whether the entry was deleted successfully.
1
0
Example
In this example, the following map (author) is used.
agatha christie  1890
alfred hitchcock 1899
The following script deletes an entry from the map:
DelMapKey("author","alfred");
After the script is executed, author is changed as follows:
agatha christie 1890
OpenText StreamServe 5.6.2 Updated: 2018-01-26