> PICK is what you're searching your memory for:

And if you have multiple things to search for, it often pays to use
a LOOKUP stage like this:

   | ..
   | l: lookup anycase w2 w1 detail
   | ..
   \ literal maint maint640 | split | l:

The "classic" alternative is probably to reshape the record such that the
search word is at the start of the record, and then use strfind to check
for key plus blank.

Sir Rob the Plumber

Reply via email to