feature request: string.contains('...')

Wim Feijen wim at go2people.nl
Fri Sep 24 03:57:29 EDT 2010


Hello,

I was wondering, how to make a feature request?

I would really like having a string.contains('...') function which returns
either True or False. I know I can mimick this behaviour by saying
string.find('...') != -1 , however, I find this harder to read.

string.contains('...') is easier to understand and more closely resembles
natural language.

Thanks for your help and best regards,

Wim Feijen

-- 
Wim Feijen
Algemeen directeur
wim at go2people.nl
06 11113316

Go2People
Keizersgracht 8
1015 CN Amsterdam
020 7370378
www.go2people.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100924/47145edb/attachment.html>


More information about the Python-list mailing list