VBScript: use a combination of CStr (to convert your number to a string), Len (to get the total number of characters), and Right (to grab only characters at the right hand end of your string [total minus 7]).
The problem is there isn't a static # of characters on the right that can remain in the result. The first 7 characters need to be removed in all instances, though.
Thanks for your help, I should have specified that originally.
You get the total number of characters with Len(). Len() - 7 is the number of characters to keep. Right() will keep that number of characters from the righthand side. You're not hardcoding anything except 7, the number of characters to exclude.