如何截取/storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/doc/10086中doc/10086的部分
时间: 2023-08-25 07:07:30 浏览: 162
你可以使用字符串截取的方式来截取目标部分。在给出的引用中,提供了一个示例,其中使用uni.uploadFile直接将live-pusher返回的本地地址(/storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/doc/snapshot/snapshot_1661926096230.jpg)上传。在这个例子中,你可以注意到要截取的部分是doc/10086。根据这个例子,你可以使用相同的方法来截取/storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/doc/10086中的doc/10086部分。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [HBuilder Android真机调试](https://blog.csdn.net/weixin_30381793/article/details/95039901)[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: 50%"]
- *2* [uniapp live-pusher拍摄证件照后上传到后端](https://blog.csdn.net/weixin_47517731/article/details/126625349)[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: 50%"]
[ .reference_list ]
阅读全文