Postgres Find Function In String In Cpp