没有。MySQL常用字符串函数如下:CHARSET(str) //返回字符串字符集CONCAT (string2 [,… ]) //连接字符串INSTR (string ,substring ) //返回substring首次在字符串中出现的位置,不存在返回0LCASE (string ) //字符串转换成小写LEFT (string ,length ) //从字符串中的左边起取length个字符LENGTH (string ) //字符串长度LOAD_FILE (file_name ) //从文件读取内容LOCATE (substring , string [,start_position ] ) 同INSTR,但可指定开始位置LPAD (string ,length ,pad ) //重复用pad加在字符串开头,直到字串长度为lengthLTRIM (string2) //去除字符串前端空格REPEAT (string ,count ) //重复count次REPLACE (str ,search_str ,replace_str ) //在str中用replace_str替换search_strRPAD (string ,length ,pad) //在字符串后用pad补充,直到长度为lengthRTRIM (string) //去除字符串后端空格STRCMP (string1 ,string2 ) //逐字符比较两字串大小,SUBSTRING (str , position [,length ]) //从字符串的position开始,取length个字符,SUBSTR和SUBSTRIN函数功能一样。注:MySQL中处理字符串时,默认第一个字符下标为1,即参数position必须大于等于1,position支持负数,如果为负数则从后面开始截取。mysql> select substring(‘abcd’,0,2);+———————–+| substring(‘abcd’,0,2) |+———————–+| |+———————–+1 row in set (0.00 sec)mysql> select substring(‘abcd’,1,2);+———————–+| substring(‘abcd’,1,2) |+———————–+| ab |+———————–+1 row in set (0.02 sec)TRIM([[BOTH|LEADING|TRAILING] [padding] FROM]string2) //去除指定位置的指定字符UCASE (string2 ) //转换成大写RIGHT(string2,length) //取string2最后length个字符SPACE(count) //生成count个空格参考:PHP程序员雷雪松的博客。