I think all variations of what you could want are covered.
Now it will also depend on what field type you have, what's possible.
Edit: I just see now Griff is really clever and uses TRANSFORM() to convert any data type to string, to be able to TRIM it and find the length without whitespace. Specifically for length 10 this would also cover the date data type, which has 8 digits and two date marks = 10 characters in the usual CENTURY ON mode.
So in short, the question may come from seeing LEN(field) is constant. Yes, unless you have varchar or Memo fields, char fields are fixed size.
But then it's mainly the others, who tackled padding. Other ways to tackle this are alignment at display or printing. For numbers, right alignment is possible in controls easily, just use their Alignment property. In report controls you find everything in the Format tab. Well, you can also display text data types right-aligned, ie something like alphanumeric serial numbers, part-numbers, etc. No need to work on the data and store it right-aligned with leading spaces or zeros, which only works in monospaced/nonproportional fonts anyway.
Also, see Inputmask and Format properties of the textbox and similar on report controls. And how that corresponds to the legacy @..say PICTURE option.
I'd rarely store leading spaces or zeros in data. It's bound to fail. When the time comes you need an extension altering a field from C

to C(n+1) you get a trailing space, not a leading one. And anyway, in char fields you have fixed length, just always trailing spaces, not leading spaces or zeros. Therefore for me, formatting is something you do after you read data at display/report/etc. Not within the database.
Special cases need special handling, for example, serial numbers might come in series, some with a prefix, some with a suffix. It will depend on the way you align them in the storage how an index can sort them so the ones belonging to a group are sorted together.
Obviously you can always do as you like, but take it for granted from experience, mixing semantics with the pure data makes it less easy to change things.
Bye, Olaf.
Olaf Doschke Software Engineering