I am trying to translate a T-SQL Query to PostgreSQL and one part of the query contains the string function CHARINDEX () which I am not able to translate to PgSQL.
Here is the part of the query with the string function:
SELECT
REPLACE(REPLACE(SUBSTRING(
PARAMETRI
,CHARINDEX('=',PARAMETRI, PATINDEX('