Archived post by TOADSTORM

use `sprintf()`

you can use `%04d` as your substitute string to get 4 digit padding, for example

`string padnum = sprintf(“%04d”, @ptnum);`