1 Answer
- Newest
- Most votes
- Most comments
1
You can use the position or charindex functions.
dev=# select position('SUBSTR(' in 'jakjasf;kljksfjdsSUBSTR(kjasdkjadsjfjk');
position
----------
18
(1 row)
dev=# select charindex('SUBSTR(', 'jakjasf;kljksfjdsSUBSTR(kjasdkjadsjfjk');
charindex
-----------
18
(1 row)
Relevant content
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago