string strstr
时间: 2023-09-29 16:02:29 浏览: 82
python 实现strStr()函数
strstr函数是一个在字符串中查找子字符串的函数。它的原理是在字符串中遍历查找第一次出现子字符串的位置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [深度剖析 string —— strchr & strstr](https://blog.csdn.net/qq_64589446/article/details/125750386)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文