String Functions
CHAR[ACTER]_LENGTH (char_expr) Return the number of characters in a character expression.
LOWER (char_expr)Convert all characters in a character expression to lower case.
POSITION (search_expr IN target_expr) Return the position of a character expression within another character expression.
SUBSTRING (char_expr FROM pos FOR len)Return a specific part of a character expression starting at FROM position FOR length.
TRIM (['char' FROM] column) Remove leading and/or trailing spaces or characters from a character expression.
UPPER (column) Convert all characters in a character expression to upper case.
|| (Concatenation) char_expr || char_expr Concatenate multiple character expressions into a single character expression.
$LJ (char_expr) Left justify a character expression eliminating leading white space.
$LPAD (char_expr, len [, pad_char ]) Add leading 'pad' characters to a character expression.
$PROPER (char_expr) Shift the first letter of each word in a character expression to upper case and all other letters to lower case.
$RJ (char_expr) Right justify a character expression eliminating trailing white space.
$RPAD (char_expr, len [, pad_char ]) Add trailing 'pad' characters to a character expression.
————————————–———————————————–———————————————————————————————————-
 
Back to top
dev/sql/functions/text/string.txt · Last modified: 2012/10/26 15:00 (external edit)