STRUCTFINDKEY | |
Description
Searches recursively through a substructure of nested arrays, structures, and other elements, for structures whose values match the search key in the value parameter. |
|
Returns
An array that contains structures with values that match value. |
|
Category
Structure functions |
|
Function syntaxStructFindKey(top, value, scope) |
|
See also
Structure functions; "Structure functions" in Chapter 5, "Using Arrays and Structures," in ColdFusion MX Developer's Guide |
|
Parameters
|
|
Usage
Returns an array that includes one structure for each of the specified values it finds. The fields of each of these structures are:
A structure's keys are unordered. |
|
Example<cfset aResults = StructFindKey( #request#, "bass" )> |
TOP | |
VALUE | |
SCOPE | |