| string || string | bytea | ﹃硈钡
| '\\\\Post'::bytea || '\\047gres\\000'::bytea | \\Post'gres\000 |
| octet_length(string) | integer | 秈﹃い竊计ヘ | octet_length('jo\\000se'::bytea) | 5 |
| position(substring in string) | integer | ﹚﹃竚 | position('\\000om'::bytea in 'Th\\000omas'::bytea) | 3 |
| substring(string [from integer] [for integer]) | bytea | ┾﹃
| substring('Th\\000omas'::bytea from 2 for 3) | h\000o |
| trim([both]
bytes from
string)
| bytea | 眖 string 秨繷㎝挡Ю埃
bytes 程﹃
| trim('\\000'::bytea from '\\000Tom\\000'::bytea) | Tom |
| get_byte(string, offset) | integer | 眖﹃い┾竊
| get_byte('Th\\000omas'::bytea, 4) | 109 |
| set_byte(string,
offset, newvalue) | bytea | 砞竚﹃い竊
| set_byte('Th\\000omas'::bytea, 4, 64) | Th\000o@as |
| get_bit(string, offset) | integer | 眖﹃い┾
| get_bit('Th\\000omas'::bytea, 45) | 1 |
| set_bit(string,
offset, newvalue) | bytea | 砞竚﹃い
| set_bit('Th\\000omas'::bytea, 45, 0) | Th\000omAs |