hello
could you help in solving the following problem

I want to replace same consecutive words by a single word in a sentence..

for example --- my name name name is micky
so I want the output like this--my name is micky

I want this solution for a text file

can you tell me the code for it??

thanking you in anticipation

-- 
Shilpa Rai
MSc.(2011-2013)
Applied Statistics and Informatics
Indian Institute of Technology,Bombay

	[[alternative HTML version deleted]]

