Jump to content

File Search(inside the file)?


 Share

Recommended Posts

I want to search a text/html document for a given string and in return I want to see the line number of where the string is located. Like $search=FileSearch("autoit", "c:/games/blahblah.txt") and then MsgBox("Autoit", "Autoit was found in line $search"). Maybe there's a function like that in autoit and I couldn't find it and searching the forums doesn't return exact results.

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...