substr(varchar '1234', 3)
postgres=# SELECT substr(varchar '1234', 3); substr -------- 34 (1 row) postgres=#