I have a very simple problem, I need to somehow pad a number to be 4 characters in length so I always end up with a 4 byte word.
For Example:
2 needs to be 0002
15 needs to be 0015
...
I have to have the leading zeroes.
Any suggestions?
In reply to Reg Exp Suggestion Needed by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |