|
chaîne
||
chaîne
|
bytea
|
Concaténation de chaîne
|
E'\\\\Post'::bytea ||
E'\\047gres\\000'::bytea
|
\\Post'gres\000
|
|
get_bit(
chaîne
,
décalage
)
|
int
|
Extrait un bit d'une chaîne
|
get_bit(E'Th\\000omas'::bytea, 45)
|
1
|
|
get_byte(
chaîne
,
décalage
)
|
int
|
Extrait un octet d'une chaîne
|
get_byte(E'Th\\000omas'::bytea, 4)
|
109
|
|
octet_length(
chaîne
)
|
int
|
Nombre d'octets dans une chaîne binaire
|
octet_length( E'jo\\000se'::bytea)
|
5
|
|
position(
sous-chaîne
in
chaîne
)
|
int
|
Emplacement de la sous-chaîne indiquée
|
position( E'\\000om'::bytea in
E'Th\\000omas'::bytea)
|
3
|
|
set_bit(
chaîne
,
décalage
,
nouvelle_valeur
)
|
bytea
|
Positionne un bit de la chaîne
|
set_bit(E'Th\\000omas'::bytea, 45,
0)
|
Th\000omAs
|
|
set_byte(
chaîne
,
décalage
,
nouvelle_valeur
)
|
bytea
|
Positionne un octet de la chaîne.
|
set_byte( E'Th\\000omas'::bytea, 4,
64)
|
Th\000o@as
|
|
substring(
chaîne
[from int
]
[for int
])
|
bytea
|
Extrait une sous-chaîne
|
substring(E'Th\\000omas'::bytea from 2
for 3)
|
h\000o
|
|
trim([both]
octets
from
chaîne
)
|
bytea
|
Supprime la plus longue chaîne composée uniquement d'octets
de
octets
à partir du
début et de la fin de
chaîne
|
trim(E'\\000'::bytea from
E'\\000Tom\\000'::bytea)
|
Tom
|