i want the code for printing the number of occurances of a particular
word in text file. for example there is file called one.txt and it has many words, say i just want to print how many times the word london has occured in the file. also i want to replace london with new york say. how do i do this?