回复 20楼 吹水佬
所以说要看具体数据,这种情况就用at呗,subs 后面用at,截取的位置就是读取括号前后的位置
cstr="琼(2022)洋县不动产权第0021221号、琼(2020)洋县不动产权第0021221号/琼(2021)洋县不动产权第0021221号" FOR i=1 TO ALINES(arr,cstr,16,"号","/","、") ?? IIF(i%2==0,arr[i],LEFT(RIGHT(arr[i],9),7)) ENDFOR
cstr="琼(2018)洋县不动产证明第0038826号/琼(2019)洋县不动产证明第0038827号、琼(2017)洋县不动产证明第0038823号" FOR i=1 TO ALINES(arr,cstr,16,"号","/","、") ?? IIF(i%2==0,arr[i],LEFT(RIGHT(arr[i],9),7)) ENDFOR