MySQL SUBSTR()函数

用来截取字符串

syntax:substr(string, start, length)

  • string:目标字符串
  • start:起始位置(MySQL中以1开始)
  • length:长度