G'day...
> Does anyone know how to format a string so that the spaces are padded
> on the right, not the left.
>
> Im using $dates = sprintf("%64s", $dates);
>
> this right justifies the data and pads the left with spaces.
> I need the other way around - left justified and padded with spaces o
Does anyone know how to format a string so that the spaces are padded on the
right, not the left.
Im using $dates = sprintf("%64s", $dates);
this right justifies the data and pads the left with spaces. I need the other
way around - left justified and padded with spaces on the right.
***