"Lance Prais" <[EMAIL PROTECTED]> writes:
> if (substr($line, 42, 7) eq'"Running"') #if statment to see if "Running" is if (substr($line, 42, 7) eq "Running" ) Because you had single quotes, you were looking for the string "Running" (*with* the double quotes around it - *9* characters). -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]