string ||
string | bytea |
ʸ������
| E'\\\\Post'::bytea || E'\\047gres\\000'::bytea | \\Post'gres\000 |
get_bit (string, offset) | int |
ʸ����1�ӥå���Ф��ޤ���
| get_bit(E'Th\\000omas'::bytea, 45) | 1 |
get_byte (string, offset) | int |
ʸ����1�Х�����Ф��ޤ���
| get_byte(E'Th\\000omas'::bytea, 4) | 109 |
octet_length (string) | int | �Х��ʥ�ʸ������ΥХ��ȿ� | octet_length(E'jo\\000se'::bytea) | 5 |
position (substring in string) | int | Location of specified substring | position(E'\\000om'::bytea in E'Th\\000omas'::bytea) | 3 |
set_bit (string,
offset, newvalue) | bytea |
ʸ������ΥӥåȤ����ꤷ�ޤ���
| set_bit(E'Th\\000omas'::bytea, 45, 0) | Th\000omAs |
set_byte (string,
offset, newvalue) | bytea |
ʸ�������1�Х��Ȥ����ꤷ�ޤ���
| set_byte(E'Th\\000omas'::bytea, 4, 64) | Th\000o@as |
substring (string [from int] [for int]) | bytea |
��ʬʸ�������Ф��ޤ���
| substring(E'Th\\000omas'::bytea from 2 for 3) | h\000o |
trim ([both]
bytes from
string)
| bytea |
ʸ����string����Ƭ���������ޤǤ�bytes�ΥХ��ȤΤߤ�ޤ��Ĺ��ʸ����������ޤ���
| trim(E'\\000'::bytea from E'\\000Tom\\000'::bytea) | Tom |