语法:instr( fatherstr, sonstr [, start_position [, matchtimes ] ] )
fatherstr:父字符串,要在此字符串中查找子字符串的位置。
sonstr:要在fatherstr中查找的字符串.
start_position:代表从fatherstr开始查找的的开始位置。此参数可选,如果省略默认为1.
字符串索引从1开始。如果此参数为正,从左到右开始检索,如果此参数为负,从右到左检索,
返回要查找的子字符串在父字符串中的开始索引。
matchtimes:代表要查找子字符串在父字符串中第几次匹配的次oracle账号数. 此参数可选,如果省略,默认为 1.如果为负数系统会报错。
文章归档
- 2021年11月
- 2021年10月
- 2021年9月
- 2021年8月
- 2021年7月
- 2021年6月
- 2021年5月
- 2021年4月
- 2021年3月
- 2021年2月
- 2021年1月
- 2020年12月
- 2020年11月
- 2020年10月
- 2020年9月
- 2020年8月
- 2020年7月
- 2020年6月
- 2020年5月
- 2020年4月
- 2020年3月
- 2020年2月
- 2020年1月
- 2019年12月
- 2019年11月
- 2019年10月
- 2019年9月
- 2019年8月
- 2019年7月
- 2019年6月
- 2019年5月
- 2019年4月
- 2019年3月
- 2019年2月
- 2019年1月
- 2018年12月
- 2018年11月