Oracle Character Functions
This page organizes commonly used Oracle string/character functions, allowing you to efficiently manipulate strings/characters.
-
ASCII
OracleASCII()
is a built-in function that returns the decimal numeric representation of the first character in the string specified by the parameter. -
CHR
OracleCHR()
is a built-in function that returns the character corresponding to the given integer parameter. -
CONCAT
OracleCONCAT()
is a built-in function that returns the concatenated string of two given parameters. -
INITCAP
OracleINITCAP()
is a built-in function that capitalizes the first letter of each word in a given string and converts all other letters to lowercase. -
INSTR
OracleINSTR()
is a built-in function that searches for a substring in a given string and returns an integer that represents the index position of the string. -
LENGTH
OracleLENGTH()
is a built-in function that returns the character length of a given string. -
LOWER
OracleLOWER()
is a built-in function that returns the lowercase form of the given string. -
LPAD
OracleLPAD()
is a built-in function that left-pads a given string with a specified character sequence to make it a given length. -
LTRIM
OracleLTRIM()
is a built-in function that returns a string with any specified leading characters (by default, spaces) removed. -
NCHR
OracleNCHR()
is a built-in function that returns the character corresponding to the given integer parameter as aNVARCHAR2
type. -
NLS_INITCAP
OracleNLS_INITCAP()
is a built-in function that converts the first letter of each word in the given string to uppercase and the other letters to lowercase. -
NLS_LOWER
OracleNLS_LOWER()
is a built-in function that returns the lowercase version of a given string. -
NLS_UPPER
OracleNLS_UPPER()
is a built-in function that returns the uppercase form of a given string. -
NLSSORT
OracleNLSSORT()
is a built-in function that returns the collation key for a given string and the explicitly or implicitly specified collation. -
REGEXP_COUNT
OracleREGEXP_COUNT()
is a built-in function that returns the number of occurrences of a given regular expression pattern in a source string. -
REGEXP_INSTR
OracleREGEXP_INSTR()
is a built-in function that returns the index of a substring that matches a given regular expression pattern in a source string. -
REGEXP_REPLACE
OracleREGEXP_REPLACE()
is a built-in function that replaces a string with new content that matches a specified regular expression. -
REGEXP_SUBSTR
OracleREGEXP_SUBSTR()
is a built-in function that searches a given source string and returns a string that matches the given regular expression. -
REPLACE
OracleREPLACE()
is a built-in function that replaces all occurrences of a specified substring in a string with a new substring. -
RPAD
OracleRPAD()
is a built-in function that pads a given string with a given character sequence on the right side to reach a specified length. -
RTRIM
OracleRTRIM()
is a built-in function that returns a string with any specified trailing characters (by default, spaces) removed. -
SOUNDEX
OracleSOUNDEX()
is a built-in function that returns a string representing the pronunciation of a given English string. -
SUBSTR
OracleSUBSTR()
is a built-in function that returns a specified length substring starting from a specified position in a string. -
TRANSLATE
OracleTRANSLATE()
is a built-in function that translates a given string based on a specified translation relationship and returns the translated string. -
TRANSLATE-USING
Oracle OracleTRANSLATE(using)
is a built-in function that converts the given string between the database character set and the national character set. -
TRIM
OracleTRIM()
is a built-in function that returns a string with any specified leading and trailing characters (by default, whitespace) removed. -
UPPER
OracleUPPER()
is a built-in function that returns the uppercase form of a given string.