mysql中功能强大的trim()函数.去除两边空格:mysql> select trim(' hello world ');+-----------------------+| trim(' hello world ') |+-----------------------+| hello world |+-----------------------+1 row in set去除左边空格:select ltrim(' hello world ');去除右边空格:select rtrim(' hello world ');t Read More
posted @ 2013-08-17 16:02 i文学 Views(1550) Comments(0) Diggs(1) Edit
点击右上角即可分享
微信分享提示