Win32Lib Feature Request
- Posted by "C. K. Lester" <cklester at yahoo.com> Jan 22, 2003
- 410 views
Please include this in Win32Lib (if not already!) and tell me where to put it in my own copy... I asked nicely! :) ---- function matchItem( integer List_ID, sequence matchTerm ) This function would return a sequence of item numbers -OR- the items themselves that in whole or part matched the matchTerm. An empty sequence is return when no matches are found. Example: -- myList = {"IADCDAYW.DOT","OTHER.DOT","IADCFOOT.DOT","IADCTURN.DOT"} junk = matchItem( myList, "IADC" ) junk could now equal { "IADCDAYW.DOT","IADCFOOT.DOT","IADCTURN.DOT"} -or, if returning values only, junk could equal { 1, 3, 4 }