On Wed, 9 Jan 2002, John W. Krahn wrote: > printf is based on the C language printf function and can be a bit > tricky. The format "%-5s" will not truncate a value longer than 5 > characters but it will pad a shorter value with spaces. To truncate a > longer value use the format "%-5.5s". Also, the variable @fields[14] is > an array slice, you want a scalar $fields[14]. > printf( NEWQUOTES "%-5.5s", $fields[14] );
Thank you John and everyone else. The .5 worked. -Scott -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]