|
-
December 4th, 2004, 01:22 PM
#1
URGENT! Searching text file for specific text
Im trying to search my text file for specific text. I have an inputbox requesting the information from a user, and from that I want it to search my text file for the name. Example Tom Bernard T141 905-685-5655 6.0
Say if i want to search for the first name, Tom
I want to search from 0, to the firstspace
and return the whole text line that it comes along with
So if Tom is found display the line in which Tom is found
IF someone can help it would be appreciated. Im really stuck!
-
December 4th, 2004, 02:56 PM
#2
Re: URGENT! Searching text file for specific text
 Originally Posted by bboy_romeo
Say if i want to search for the first name, Tom
I want to search from 0, to the firstspace
and return the whole text line that it comes along with
you should use RegEx class
-
December 4th, 2004, 03:08 PM
#3
Re: URGENT! Searching text file for specific text
what is RegEx class?
and how do i use it?? to find what i need
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|