Can anyone help. In a CGI script I have a array item which can be any length.
It's called $field1
What do I have to do to make $field1 just its first 40 characters ..... (if less than 40, that's fine)
If anyone could help with a line or two of code, I'd really appreciate it....