Cross Product of two Strings by I., S.

a=split($1,A,_){b=split($2,B,_)
for(f=i=0;i++<a;)for(j=0;j++<b;)$++f=A[i]B[j]}1

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page