Is there a way to replace the space character to 0 in printf padding for field width
Code used
printf(\"%010s\",\"this\");
Doesnt s
Try this:
printf("%010d%s", 0, "this");