instr

最近更新时间: 2025-02-18 16:02:00

instr函数返回要截取的字符串在源字符串中的位置。

  • 复制
    复制成功
postgres=# select instr('helloworld','l') from dual;
instr
-------
     3
(1 row) 
postgres=#