-- tanslate(str,from_str,to_str) -- 将str中的from_str替换成to_str select translate('hello','e','o') t from dual; -- instr(str,des_str) -- 可以实现like功能 select instr('hello','g'),instr('hello','h'),instr('hello','l') from dual; -- decode(value,s1,r1,s2,r2,defa…