我正在尝试从供应商名称中删除某些子字符串。所以我放了一个宏并这样做:
local item "BANKOFAMERICA" " INC" " INCORPORATED" " SYS " " SYSTEMS" " PVT" " PRIVATE" " LIMITED" " LTD" " LLC" " CORP" "LIMITED LIABILITY" "CORPORATION" " CORP " " COMPANY" " CO " " TECHNOLOGY" " TECH " " GLOBAL"
foreach v in `item' {
replace vendor = subinstr(vendor,"`v'","",.)
}
但是,这给了我一个太少的引号错误。我尝试在“v”周围复合“”,但没有奏效。知道我做错了什么/另一种方法来实现这一点吗?