D
Daemonice
Hello,
I am using the below statement. It writes exactly 19 positions,
padding the right of the string with spaces if need be.
printf DB "%-19s",$value;
However, now I need to write $fieldlength positions. I cannot find how
I can combine printf with $fieldlength. Is this possible, or should I
first format my string and then print it? What is the most ecomical
way to do this?
TIA,
Daemonice.
I am using the below statement. It writes exactly 19 positions,
padding the right of the string with spaces if need be.
printf DB "%-19s",$value;
However, now I need to write $fieldlength positions. I cannot find how
I can combine printf with $fieldlength. Is this possible, or should I
first format my string and then print it? What is the most ecomical
way to do this?
TIA,
Daemonice.