instr

最近更新时间: 2025-10-11 18:10:00

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

postgres=# select instr('helloworld','l') from dual;
instr
-------
     3
(1 row) 
postgres=#