_代表空格
ltrim去掉左边空格
ltrim("_hello_sql_ ");
变为hello_sql_
rtrim去掉右边空格
ltrim("_hello_sql_")
变为 _hello_sql
可以用replace去掉所有空格
replace("_hello_sql_",' ',");
变为hellosql
_代表空格
ltrim去掉左边空格
ltrim("_hello_sql_ ");
变为hello_sql_
rtrim去掉右边空格
ltrim("_hello_sql_")
变为 _hello_sql
可以用replace去掉所有空格
replace("_hello_sql_",' ',");
变为hellosql
转载于:https://www.cnblogs.com/hpuCode/archive/2012/03/26/2418134.html