> -----Original Message-----
> From: Lance Prais [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 26, 2001 5:24 PM
> To: [EMAIL PROTECTED]
> Subject: Using print
> 
> 
> I am using the following statment  to try to print a sub 
> string of a line
> but
> print (substr($line, 42, 7));
> 
> or
> 
> print substr($line, 42, 7);
> 
> but getting the following error:
> 
> syntax error at emailagent line 16, near ");"
> 
> 
> Can anyone tell me what I am doing wrong?

Neither of those lines is incorrect by itself, so you 
need to check the line above or post more of your script.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to