Postgres Find Function In String Cpp