The better solution here is to simply pull off the trailing character if indeed the emu uses 3 instead of 2 id digits.
The problem with your code is that if the npc's name has any digits in it, anywhere in the name, they get striped.
"Clockwork Model 8", "D7 Scavenger", "Obsolete Model 4", would be butchered.
|