With the following code, I would expect a result of 5 !! >>> a= 'word1 word2 word3' >>> a.rfind(' ',7) 11 Is this a bug ? thanks, Stef -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20100421/7df73d26/attachment.html>