查询条件里面有输入框。输入框里面可以输入很多个数据。但是都有空格。怎么能够去掉每一个值的空格。原来用的这种 无法解决问题。。
方式1:JOINARRAY(MAPARRAY(split($cs,","),replace(item," ","")),"")
方式2:replace(mid($cs,2,500),",","','")
不知道你的具体应用
REPLACE($$$," ","")
修改
REPLACE(REPLACE(p_fromlot," ",""),",","','")
这个你在sql语句取值时候去掉把
select * from 表 where 字段 in ('${replace(控件名," ","")}')
replace(replace(replace(replace(字段名,' ',''),' ',''),' ',''),' ','')在外面多包几层replace这样会一个个空格去替换掉