查找字符串中子串出现的全部位置

直接上代码:python 方案一用find方法:正则表达式 def find_all(str1, date, start, end):     while start <= end:         i = str1.find(date, start, end)         if i == -1:             break         start = i+1         pr
相关文章
相关标签/搜索