I have been working on a project that requires me to be able to search a file for all occurrences of a string and store the entire line that contains a single occurrence of that string a an array of characters. For example:
I know the DOS command that does something like this but that won't work in this case. Does anyone have any idea how to do this?
Thanks in advance