JQuery里面怎么让$的括号中调取某个变量的值

2024-12-05 14:08:44
推荐回答(2个)
回答1:

111

$('div').html();

回答2:

参考代码:
data _null_;
set sashelp.vcolumn end=last;
where libname="WORK" and memname="AAA" and index(label,"(");
do until(index(label,"(")=0);
if label =:"(" then label=substr(label,index(label,")")+1);
else label=substr(label,1, index(label,"(")-1)|| substr(label,index(label,")")+1);
end;

length setlabel $100;
setlabel=catx(" ",setlabel, catx("=",name,quote(strip(label))));
retain setlabel;
if last then call symputx("setlabel",setlabel);
run;

proc datasets lib=work;
modify aaa;
label &setlabel;
run;quit;