Search the Community
Showing results for tags '_arrayfindall _arraysearch'.
-
I made the following two functions based on some recent activity in the General Help and Support section of the forum. Function Summary: _ArrayFindAllex searches 1D or 2D arrays. The function supports multiple search arguments, four different kinds of matching (as defined below) and case sense. _ArrayDeleteColumn returns a 2D array minus whatever column the user specifies. Function prototypes: _ArrayFindAllex( source array, search arguments, search type, case sense, srch arg sep ) _ArrayDeleteColumn( source array, column to delete ) Parameters: _ArrayFindAllex Source Array - Any 1D or 2D array. Search Arguments - Any string or integer. Multiple search arguments can be specified and are seperated by "search argument seperator string". Case Sense - 1 = case sensitive 0 = case insensitive. Search Type - 0 = find search argument anywhere in array element 1 = match if search argument equals array element 2 = match if array element begins with search argument 3 = match if array ends with search argument Srch Arg Sep - String used to seperate search arguments. _ArrayDeleteColumn Source Array - A 2D array Column to Delete - An integer specifying which column to delete. I hope you find these usefull. Any and all comment appreciated. Example Scripts examples for array_ex.au3 The UDF's Array_EX.au3 kylomas edit: made corrections pre guinness and reloaded files edit: made corrections per Mikell, thanks...