util_search_list_of_lists (public, deprecated)

 util_search_list_of_lists list_of_lists query_string \
    [ sublist_element_pos ]

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Returns position of sublist that contains QUERY_STRING at SUBLIST_ELEMENT_POS. The function can be replaced by "lsearch -index $pos $list_of_lists $query_string"

Parameters:
list_of_lists (required)
query_string (required)
sublist_element_pos (optional, defaults to "0")
See Also:
  • lsearch

Testcases:
No testcase defined.
[ show source ]
Show another procedure: