This will truncate the variable $Field so it is only $MaxFieldWidth characters long. Dave$Field = substr($Field, 0, $MaxFieldWidth);
Update :
Sorry about the type. I got a bit ahead of myself in hitting the submit without checking what I wrote.
D
In reply to Re: How do I specify Maximum Field Widths
by dfog
in thread How do I specify Maximum Field Widths
by Gremlin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |