//*命令 subinstr(S1,S2,S3,n),n表示迭代的次数,S1是变量,S2是需要替代的变量,S3是新替换的变量。如果n是.代表所有的都换*/ //reverse()字符串逆顺 local wjm="`c(current_time)'`c(current_date)'" local wjm=subinstr(subinstr("`c(current_time)'`c(current_date)'",":","",.)," ","",.) disp reverse("`wjm'")
标签:subinstr,wjm,S3,current,STATA,字符串,处理函数 From: https://www.cnblogs.com/xkdn/p/17179811.html