Comparing a string to a line of text in a text file
Posted on 2012-04-12
I currently have a value (strString) that may be something like this:
I want to search a text file to see if there is the same value but with spaces
i.e. mwmiller78 and sons
If the program finds such a value, it needs to replace strString with the new found value. If it locates such a value, the cycle will end otherwise it will end at EOF.
How would I do this?