摘要: 字符串常见操作 mystr = “hello world itcast and itcastcpp” (1) 、find 检测str中是否包含在mystr中,如果是,返回开始的索引值,否则返回-1 mystr.find('itcast') 12 mystr.find('itcast', 13, 10 阅读全文
posted @ 2022-03-10 23:28 安迪9468 阅读(100) 评论(0) 推荐(0) 编辑