摘要:
有字符串 mystr = "hello world itcast and itcastcpp",以下是常见的操作: 1. mystr.find(str, start=0, end=len(mystr)) 检测str是否包含在mystr中,如果是返回开始的索引值,否则返回-1. 2. mystr.in 阅读全文
posted @ 2017-08-06 20:14
Vivi_0125
阅读(3484)
评论(1)
推荐(0)
浙公网安备 33010602011771号