Replaced Unneeded ToUpper call and concats.
Replaced Unneeded ToUpper call and concats.

The ToUpper() function call can be removed by changing the "x" to "X".
Additionally, the PadLeft() call performs the same function as the while
loop, and does it faster.

The execution time with the changed code is half of what it was before.

SirCmpwn/Tomato