add "X" to a string to make it 8 characters in length.
I have a numeric string that can be between 2-8 characters long, this is a numeric string, not an integer or long. If the characters are less than 8, I want to add "X" to the end of it until the len = 8.
For some reason, I am having a hard time coming up with a clean way of doing this. Is this something I can do just with a format statement?
EDIT*
I'm an idiot.... I just added "XXXXXXXX" to the string, then do a left 8... that works... God I need more coffee.