1、substr(str,pro,len)在字符串str中从pro位置(第一个字节即为1)开始截取长度为len的字符,如substr(Georgi,-2)=gi
2、substring_index(str,delim,count),
delim-分隔符,如"/"和".",
count-计数,
按分隔符的定位截取字符串,如str=www.wibi.com,substring_index(str,".",2)=www.wibi
后面遇到别的再来补充
1、substr(str,pro,len)在字符串str中从pro位置(第一个字节即为1)开始截取长度为len的字符,如substr(Georgi,-2)=gi
2、substring_index(str,delim,count),
delim-分隔符,如"/"和".",
count-计数,
按分隔符的定位截取字符串,如str=www.wibi.com,substring_index(str,".",2)=www.wibi
后面遇到别的再来补充