You should use regex (with word boundary) as str.find returns the first occurrence. Then use the start attribute of the match object to get ... ... <看更多>
The index string method is very similar to the find string method. ... Python Index String Method Syntax ' String '. index (' substring ', ... ... <看更多>