in reply to How do I specify Maximum Field Widths

I think what you are looking for is
$Field = substr($Field, 0, $MaxFieldWidth);
This will truncate the variable $Field so it is only $MaxFieldWidth characters long. Dave

Update : Sorry about the type. I got a bit ahead of myself in hitting the submit without checking what I wrote.
D

Replies are listed 'Best First'.
Re: Re: How do I specify Maximum Field Widths
by dvergin (Monsignor) on Mar 06, 2001 at 07:34 UTC
    ...the correction that was here is no longer needed.