常用的mysql截取函數有:left(), right(), substring( ), substring_index()
下面來一一說明:
1.左截取left(str, length)
##2.右邊截取right(str, length)
3.substring(str, pos); substring(str, pos, len)
4.substring_index(str,delim,count )
![幾個常用的mysql截取函數](https://img.php.cn/upload/article/000/000/006/730fa65e5abd73525ab6884405a2090b-3.png)
#
以上是幾個常用的mysql截取函數的詳細內容。更多資訊請關注PHP中文網其他相關文章!