I am reading a datafile and searching for a specific word.  Any help is
greatly appreciated.  Thanks,

Allison

-----Original Message-----
From: John Edwards [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 11:15 AM
To: 'Allison Ogle'; a a
Subject: RE: search


http://www.m-w.com/home.htm

Oh, you mean in Perl?? Give more details. Are you looking for a word in a
file? In an input string?

$text = "this is a test string";

if ($text =~ /test/) {
    print "Found 'text' in string";
}

John

-----Original Message-----
From: Allison Ogle [mailto:[EMAIL PROTECTED]]
Sent: 27 March 2002 16:10
To: a a
Subject: search


Does anyone know how to search for a word?

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


--------------------------Confidentiality--------------------------.
This E-mail is confidential.  It should not be read, copied, disclosed or
used by any person other than the intended recipient.  Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful.  If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.



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

Reply via email to