posted 14 years ago
Hello,
I am trying to search a text file that looks like this
Smith;John;332-5467
Jones;Mary;456-2312
Sam;Henry;345-0987
Henry;Ed;768-0934
Jones;Paula;222-8787
Smith;Karen;343-0223
Everything seems to be working except the part that needs to work.
Basically I am reading a file, and trying to compare the last name in the file to the input provided by the user. However for some reason last==delimit[0] never equal.