Hi!
I have a list that contains sublists like:
seisinfo: {basic01 3dv 2 14.5684986115} {mig8b01 3dv 2 14.5684986115} {temp01 3dv 2 14.1837396622} {slice01 3dh 2 18.4079685211}
I would like to implement a Search/filter option:
Search: will search through all sublist items, if a match is found the sublist will appear first
Filter: Same as above but only the sublist that match are displayed
For instance if I Search for temp* then I would get
seisinfofiltered: {temp01 3dv 2 14.1837396622} {basic01 3dv 2 14.5684986115} {mig8b01 3dv 2 14.5684986115} {slice01 3dh 2 18.4079685211}
if I Filter for temp* I would get
seisinfofiltered: {temp01 3dv 2 14.1837396622}
What is the most efficient way to do this?
Thanks as always
I have a list that contains sublists like:
seisinfo: {basic01 3dv 2 14.5684986115} {mig8b01 3dv 2 14.5684986115} {temp01 3dv 2 14.1837396622} {slice01 3dh 2 18.4079685211}
I would like to implement a Search/filter option:
Search: will search through all sublist items, if a match is found the sublist will appear first
Filter: Same as above but only the sublist that match are displayed
For instance if I Search for temp* then I would get
seisinfofiltered: {temp01 3dv 2 14.1837396622} {basic01 3dv 2 14.5684986115} {mig8b01 3dv 2 14.5684986115} {slice01 3dh 2 18.4079685211}
if I Filter for temp* I would get
seisinfofiltered: {temp01 3dv 2 14.1837396622}
What is the most efficient way to do this?
Thanks as always