Search for a word in a File
Hi,
I have 2 files[word document] which contains many datas. Let it be a.doc and b.doc. I have to search for a word in a.doc up to first space and check it if exists that word in b.doc. Pls help me out..
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Stefan138 reputationPosted Apr 21, 2009, 5:32 PM EDT
FaizalRahman P104 reputationPosted Apr 21, 2009, 8:04 PM EDT
Stefan138 reputationPosted Apr 22, 2009, 6:29 AM EDT
Reading a .doc file or a .docx file is not as simple as reading a normal file. A .doc file is basically a .zip file that contains xml files. Here's a tutorial to help get you started.