On Wed, Dec 26, 2001 at 02:24:16PM -0800, Lance Prais wrote: [snip] > print (substr($line, 42, 7)); [snip] > print substr($line, 42, 7); > > but getting the following error: > > syntax error at emailagent line 16, near ");"
The code snippets you've shown us would not result in that error message. You have a problem elsewhere in your code; perhaps you forgot a semicolon, close quote, or close brace. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]