string 占位符
时间: 2023-09-27 12:12:04 浏览: 136
占位符查询
4星 · 用户满意度95%
String占位符是一种类似于Mybatis占位符的机制,用于替换字符串中的占位符为具体的值。在使用String占位符时,可以根据传参的顺序取值,类似于Mybatis的占位符。不同的是,String占位符可能会在占位符外加一个单引号,也可能加两个单引号,或者不加单引号。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [string中占位符的使用](https://blog.csdn.net/xumengdi_xmd/article/details/103512278)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [String 占位符的使用](https://blog.csdn.net/m0_38012174/article/details/88840854)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文