Hey Clark - On 2 occasions I've been asked to set up Item Maintenance to strip spaces and all unprintable ASCII characters as the Item Code is copy/pasted in. The clients were creating new items by copying them from a website or a selecting text from a PDF and then pasting them into Item Maint. Of course both common and weird characters would appear before and after the item code.
In your case with VI we can accomplish exactly the same with straightforward Perform Logic that would _cleanse_ the incoming Item Code from the import file.
But for now, you could try this if you choose:
1- Create a Temp field as string and choose Assign Temp on Key Assigns. Replace it from the column with your item code.
2- For ItemCode set Operation = Calculated then use this Calculation Expression to get rid of common troublemakers. It doesn't cover all characters you might run across but has common ones I've seen that interfere (LF, CR, dbl quote, single quote, pct sign, question mark, hashtag). Also I'm stripping spaces before and after but not in between (NOTE that Mas actually allows spaces before like Beth was mentioning and in between).
`STP(SUB(SUB(SUB(SUB(SUB(SUB(SUB(Temp001$,$0A$,""""),$0D$,""""),CHR(34),""""),CHR(39),""""),CHR(37),""""),CHR(63),""""),CHR(35),""""),2,"" "")`