the LEN function should work for both alpha or numeric strings and indeed for an alpha-numeric string
typing 1234 or 1111 in Cell A1 and the formula =len(A1) in cell B1 should give you the result of 4
If it doesnt, check you have the latest Service release updates