METHOD:
Dictionary.Remove
object.Remove (keyvalue)
The Remove method is used to remove a single key/item pair from the specified Dictionary object.
Code:
<%
dim guitars
set guitars=CreateObject("Scripting.Dictionary")
guitars.Add "e", "Epiphone"
guitars.Add "f", "Fender"
guitars.Add "g", "Gibson"
guitars.Add "h", "Harmony"
guitars.Remove("g")
%>
Output:
"Epiphone"
"Fender"
"Harmony"
Copyright 1999 by Infinite Software Solutions, Inc.
Trademark Information