Hi Friends ,
In Oracle we have LTRIM function that takes two arguments .
In Oracle the following example trims all of the left-most x's and y's from a string:
Quote:
SELECT LTRIM('xyxXxyLAST WORD','xy')
FROM DUAL;
Result : XxyLAST WORD
|
I tried to reproduce this functionality in MySQL, but LTRIM function in MySQL accepts only one argument . I tried with
Quote:
|
TRIM(LEADING 'xy' from 'xyxXxyLAST WORD')
|
But this gives a different result .
Please suggest me .