You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
387 B

3 years ago
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);