READ a text file line by line and store it into string if a particular pattern is found ,then output the pattern into differnt string ?
ponnu
0
Light Poster
Recommended Answers
Jump to Postso, What wrong with your code? any errors?
What you mean about "particular pattern"?
Post your text file sample.
Jump to PostTry putting this in your loop:
If InStr(strline, "pattern", vbTextCompare) Then <do whatever you want with it here> end if
I think that will do away with the array then.
All 7 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
ponnu
0
Light Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
tinstaafl
1,176
Posting Maven
Lee Chetwynd
imBaCodes
2
Junior Poster
ponnu
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.