String functions - Amazon Redshift

String functions

String functions process and manipulate character strings or expressions that evaluate to character strings. When the string argument in these functions is a literal value, it must be enclosed in single quotation marks. Supported data types include CHAR and VARCHAR.

The following section provides the function names, syntax, and descriptions for supported functions. All offsets into strings are one-based.

Deprecated leader node-only functions

The following string functions are deprecated because they run only on the leader node. For more information, see Leader node–only functions