摘要: sql 截取字符串: 1、LOCATE(substr , str ):返回子串 substr 在字符串 str 中第一次出现的位置,如果字符substr在字符串str中不存在,则返回0; 2、POSITION(substr IN str ):返回子串 substr 在字符串 str 中第一次出现的位 阅读全文
posted @ 2021-04-12 15:40 半个程序猿Cohen_Lee 阅读(567) 评论(0) 推荐(0) 编辑