|
|
14. Oracle Functions - Replace versus Trim
SQL> select replace('jose. antony@ yahoo.com',' ', null) as Replace1 from dual;
REPLACE1
--------------------
jose.antony@yahoo.com --Removes all spaces from in-between
SQL> select trim('jose. antony@ yahoo.com') as Trim1 from dual;
TRIM1
----------------------
jose. antony@ yahoo.com --Removes spaces from both sides only.
|
|