Home  >  Article  >  Database  >  Several commonly used mysql interception functions

Several commonly used mysql interception functions

怪我咯
怪我咯Original
2017-03-31 10:15:581627browse

Commonly used mysqlInterceptionfunctionsare: left(), right(), substring( ), substring_index()
Let’s explain one by one:
1. Left interception left(str, length)

Several commonly used mysql interception functions
2. Right interception right(str, length)

Several commonly used mysql interception functions
3.substring(str, pos); substring(str, pos, len)

Several commonly used mysql interception functions
4.substring_index(str,delim,count )

Several commonly used mysql interception functions


The above is the detailed content of Several commonly used mysql interception functions. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn