Cancel the request. The field coming in actually had 10 spaces in it, so
I just removed the spaces doing this:
$field14 = @fields[14];
$field14 =~ s/ //g;
print NEWQUOTES ($field14);
On Wed, 9 Jan 2002, Scott wrote:
> printf NEWQUOTES ("%-5s", @fields[14]);
> When I run the code I get 10 extra spaces before the next field instead of
> the 5. The value of @fields[14] is: A2103.
> Is there a problem with the value being alpha/numeric?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]