(03-29-2023, 07:51 AM)mdijkens Wrote: Almost the same as what you posted:
Code: (Select All)c$ = Right$("0000" + Ltrim$(Str$((n)), 4)
Yep! Once again exactly how I would do it

And if used allot, generalize by making a function that does space or 0 or any other character, n times something like Steve has shown with a Pad$ function.
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever

