StructClear(structure)
See also
Structure functions; Modifying a ColdFusion XML object in the Developing ColdFusion Applications
History
ColdFusion MX: Changed behavior: this function can be used on XML objects.
<cfscript> myStruct={a:1,b:2,c:3,d:4,e:5}; //Define the structure keys WriteOutput("Struct with data:"); WriteDump(myStruct); StructClear(myStruct); //Remove data from the struct myStruct WriteOutput("Struct after data removal:"); WriteDump(myStruct); </cfscript>

structclear output
<cfscript> myStruct={a:1,b:2,c:3,d:4,e:5}; //Define the structure keys WriteOutput("Using member functions"); WriteOutput(myStruct.clear()); </cfscript>