Expand description
String functions
https://www.postgresql.org/docs/current/functions-string.html
Staticsยง
- _LINKME_
ELEMENT_ ๐chr_ int4_ varchar - _LINKME_
ELEMENT_ ๐initcap_ varchar_ varchar - _LINKME_
ELEMENT_ ๐left_ varchar_ int4_ varchar - _LINKME_
ELEMENT_ ๐lpad_ varchar_ int4_ varchar - _LINKME_
ELEMENT_ ๐lpad_ varchar_ int4_ varchar_ varchar - _LINKME_
ELEMENT_ ๐quote_ ident_ varchar_ varchar - _LINKME_
ELEMENT_ ๐quote_ literal_ varchar_ varchar - _LINKME_
ELEMENT_ ๐quote_ nullable_ varchar_ varchar - _LINKME_
ELEMENT_ ๐reverse_ varchar_ varchar - _LINKME_
ELEMENT_ ๐right_ varchar_ int4_ varchar - _LINKME_
ELEMENT_ ๐rpad_ varchar_ int4_ varchar - _LINKME_
ELEMENT_ ๐rpad_ varchar_ int4_ varchar_ varchar - _LINKME_
ELEMENT_ ๐starts_ with_ varchar_ varchar_ boolean - _LINKME_
ELEMENT_ ๐to_ ascii_ varchar_ varchar - _LINKME_
ELEMENT_ ๐to_ hex_ int4_ varchar - _LINKME_
ELEMENT_ ๐to_ hex_ int8_ varchar
Functionsยง
- chr
- Returns the character with the specified Unicode code point.
- chr_
int4_ ๐varchar - initcap
- Capitalizes the first letter of each word in the given string.
- initcap_
varchar_ ๐varchar - left
- Returns the first n characters in the string. If n is a negative value, the function will return all but last |n| characters.
- left_
varchar_ ๐int4_ varchar - lpad
- Extends the given string on the left until it is at least the specified length, using the specified fill character (or a space by default).
- lpad_
fill - Extends the string to the specified length by prepending the characters fill. If the string is already longer than the specified length, it is truncated on the right.
- lpad_
varchar_ ๐int4_ varchar - lpad_
varchar_ ๐int4_ varchar_ varchar - quote_
ident - Returns the given string suitably quoted to be used as an identifier in an SQL statement string. Quotes are added only if necessary (i.e., if the string contains non-identifier characters or would be case-folded). Embedded quotes are properly doubled.
- quote_
ident_ ๐varchar_ varchar - quote_
literal quote_literal(string text)
quote_literal(value anyelement)
- quote_
literal_ ๐varchar_ varchar - quote_
nullable quote_nullable(string text)
- quote_
nullable_ ๐varchar_ varchar - reverse
- Reverses the characters in the given string.
- reverse_
varchar_ ๐varchar - right
- Returns the last n characters in the string. If n is a negative value, the function will return all but first |n| characters.
- right_
varchar_ ๐int4_ varchar - rpad
- Extends the given string on the right until it is at least the specified length, using the specified fill character (or a space by default).
- rpad_
fill - Extends the given string on the right until it is at least the specified length, using the specified fill string, truncating the string if it is already longer than the specified length.
- rpad_
varchar_ ๐int4_ varchar - rpad_
varchar_ ๐int4_ varchar_ varchar - starts_
with - Returns true if the given string starts with the specified prefix.
- starts_
with_ ๐varchar_ varchar_ boolean - to_
ascii - Converts the input string to ASCII by dropping accents, assuming that the input string is encoded in one of the supported encodings (Latin1, Latin2, Latin9, or WIN1250).
- to_
ascii_ ๐varchar_ varchar - to_
hex_ i32 - Converts the given integer to its equivalent hexadecimal representation.
- to_
hex_ i64 - to_
hex_ ๐int4_ varchar - to_
hex_ ๐int8_ varchar