Instead of doing this, I want to make use of string.format() to accomplish the same result:
string.format()
if (myString.Length < 3) { myString = \"00\"
string.Format("{0:000}", myString);
It's called Padding:
myString.PadLeft(3, '0')
You can also do : string.Format("{0:D3}, 3);