get_byte(string, offset) : get_byte « String Functions « PostgreSQL






get_byte(string, offset)

postgres=#
postgres=# -- get_byte(string, offset)
postgres=# -- Extract byte from string
postgres=#
postgres=# select get_byte('Th\\000omas'::bytea, 4);
 get_byte
----------
      109
(1 row)

postgres=#
postgres=#

           
       








Related examples in the same category