>This ended up working great. Since we use 3-of-9 the tilde (~) didn't work. There are only a few special characters that it will handle. I used '%' and your code did the trick.
OK, great.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)