如下例子:
select substr('LL$$BOAT$$he很帅', 1, instr('LL$$BOAT$$he很帅', '$$', 1, 1) - 1), substr('LL$$BOAT$$he很帅', instr('LL$$BOAT$$he很帅', '$$', 1, 1) + 2, instr('LL$$BOAT$$he很帅', '$$', 1, 2) - 2 - instr('LL$$BOAT$$he很帅', '$$', 1, 1)), substr('LL$$BOAT$$he很帅', instr('LL$$BOAT$$he很帅', '$$', 1, 2) + 2) from dual t;
时间: 2024-10-27 18:46:53