doctorjellybean
Programmer
- May 5, 2003
- 145
This is what I need to achieve.
I've got a stringlist which is loaded from a text file. I need to search the stringlist for all strings found matching a given expression, e.g. the list contains :
Hello
Help Me Make
Longfellow Serenade
Make Her happy
Mama, He Is Making Eyes At me
If I want to search for "he" with wildcard support, it should show the 1st 2 items (only searching the first word, not whole string). Each match must then be added to a new stringlist until search is completed. If possible, how? Thanks in advance.
I've got a stringlist which is loaded from a text file. I need to search the stringlist for all strings found matching a given expression, e.g. the list contains :
Hello
Help Me Make
Longfellow Serenade
Make Her happy
Mama, He Is Making Eyes At me
If I want to search for "he" with wildcard support, it should show the 1st 2 items (only searching the first word, not whole string). Each match must then be added to a new stringlist until search is completed. If possible, how? Thanks in advance.