I am adding a field to a record and the field has to be of a fixed width. I do this in Crystal Reports by using,
That code adds ten spaces to the left of the variable, then fills the field from the right, so all extra spaces are dropped.
Is there a way to do the same thing in Perl?
Code:
right(space (10) & ($vDes), 10)
Is there a way to do the same thing in Perl?