c substr
时间: 2023-11-08 09:55:30 浏览: 101
在C++中,substr()函数是用于从字符串中提取子字符串的函数。它的语法为:string.substr(起始位置, 长度)。这个函数可以从原始字符串的指定位置开始截取指定长度的子字符串。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [C++中substr()函数用法详解](https://blog.csdn.net/modi000/article/details/119352449)[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: 33.333333333333336%"]
- *2* [C/C++编程笔记:C++中的substr()函数,教你具体使用方法](https://blog.csdn.net/qq_42366672/article/details/114105736)[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: 33.333333333333336%"]
- *3* [Oracle的substr和instr函数简单用法](https://download.csdn.net/download/weixin_38687505/14908052)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文