let thisf = dv.current(); let {toprint} = input; function BuildList(arg1) { let ilength = arg1.length let TempS = "" for (let i = 0; i < ilength; i++) { if (Boolean(arg1[i])) { if (TempS == "") { TempS = arg1[i] } else { TempS = TempS + ", " + arg1[i] } } } return TempS } var String2Print = BuildList(toprint) dv.paragraph("search terms: " + String2Print);