I need to find all the same words in a text .
What would be the best idea  to do that?
I used string.find but it does not work properly for the words.
Let suppose I want to find a number 324 in the  text

'45  324 45324'

there is only one occurrence  of 324 word but string.find()   finds 2
occurrences  ( in 45324 too)

Must I use regex?
Thanks for help
L.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to