Skip to content
Prev 156110 / 398506 Next

sprintf does not fill with "0"?!

On Mon, Sep 15, 2008 at 2:19 PM, Oliver Bandel
<oliver at first.in-berlin.de> wrote:
No, the '0' flag only applies to numeric types (e.g. 'd'), and you
specify a string.  Instead, you want to do something like:
[1] "001" "002" "003" "004" "005"

/Henrik