If you have different length item numbers you can pad the formula with spaces and still use the subscript function.

E.g. (String + " ")[1 to 3] should always work even if String only has 2 characters, of course the third character returned will be one of your 'pad' characters.