Re: 字符串中的查找问题
"li liu" <[email protected]>
| Newsgroups | gmane.comp.python.chinese |
|---|---|
| Message-ID | <[email protected]> |
str='aaabbbccceddddd'
if 'e' in str:
print "yes"
在08-1-16,小龙 <[email protected]> 写道:
>
> str='aaabbbccceddddd'
>
> 如果我要搜索字符串中的 e, 请问怎么表达? 谢谢
>
> --
> deSign thE fuTure
>
> _______________________________________________
> python-chinese
> Post: send [email protected]
> Subscribe: send subscribe to [email protected]
> Unsubscribe: send unsubscribe to [email protected]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese