string ls_1, ls_2, ls_3 ls_1 = 'abcdegfdabfdabfdag' ls_2 = 'ab' pfc_n_cst_string n_string ls_3 = n_string.of_globalreplace(ls_1, ls_2, '') messagebox('s', (len(ls_1) - len(ls_3))/len(ls_2))//字符串出现次数
611
社区成员
20,469
社区内容
加载中
试试用AI创作助手写篇文章吧