Jump to content

searching text files


Recommended Posts

would it be possible to search text files?

for example, i have a text file with this contents:

quick brown fox

jumps over the

small white dog

i do
$text = searchLine ($file, "white")
and end up with $text being "small white dog". i know that what i used in the example is probably wrong, but how do i do it the right way?

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...