Command Reference : String and Date Function Reference
  
 
@wdrop
Syntax: @wdrop(str_list, "pattern_list")
Argument 1: string list, str_list
Argument 2: string pattern list, pattern_list
Return: string list
Returns a string list, dropping elements in str_list that match the string pattern pattern_list. The pattern_list is space delimited and may be made up of any number of “?” (indicates any single character) or “*” (indicates any number of characters). The pattern is case-sensitive and must exactly match the str_list characters to be dropped.
Example:
@wdrop("D D A B C", "B D C")
removes each instant of the elements “B”, “D”, and “C”, returning the string “A”.
@wdrop("ABC DEF GHI JKL", "?B? D?? *I")
drops the first three elements of the string list, returning the string “JKL”. The string pattern “?B?” drops “ABC”, the pattern “D??” drops “DEF”, and the pattern “*I” drops “GHI”.
See also @wkeep and @wreplace.