if ( /\bApr\b/ ) {
           # do your processing here
       }
        #       which is \b word boundary

Wags ;)
-----Original Message-----
From: Lisa Ballagh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 12:33
To: [EMAIL PROTECTED]
Subject: get a word


Hi,

    I have a data file and I am trying to capture just a single word
from the text, not a whole line.  How would I go about doing that?  The
word, for example is "Apr".  Thank you!

Lisa


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

Reply via email to