Command Reference : String and Date Function Reference
  
 
@wcross
Syntax: @wcross(str_list1, str_list2[, "pattern"])
Argument 1: string list, str_list1
Argument 2: string list, str_list2
Argument 3: string, pattern
Return: string list
Returns str_list1 crossed with str_list2, according to the string pattern. The default pattern is “??”, which indicates that each element of str_list1 should be crossed individually with each element of str_list2.
Example:
@wcross("A B C", "1 2 3 4")
returns every combination of the elements “A B C” and “1 2 3 4”, using the default pattern “??”. This produces the string list: “A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4”.
@wcross("ABC DEF", "1 2 3", "?-?")
returns the string list “ABC-1 ABC-2 ABC-3 DEF-1 DEF-2 DEF-3”, inserting a dash (“-”) between each crossed element as the “?-?” pattern indicates.
See also @winterleave.