Whatever message this page gives is out now! Go check it out!
StructKeyList(structure [, delimiter])Parameter | Description |
structure | Structure from which to extract a list of keys. |
delimiter | Optional. Character that separates keys in list . The default value is comma . |
<cfscript>
myStruct=StructNew();
myStruct = {a:1,b=2,c=3,d=4,e=5};
myKeyList=StructKeyList(myStruct);
WriteOutput(myKeyList & " | ");
try{
StructKeyList(someStruct);
}
catch (any s){
WriteOutput(s.message);
}
</cfscript><cfscript>
myStruct = {a:1,b=2,c=3,d=4,e=5};
myKeyList=myStruct.keyList(";");
WriteOutput(myKeyList);
</cfscript>