Oracle Character Functions

This page organizes commonly used Oracle string/character functions, allowing you to efficiently manipulate strings/characters.

  1. ASCII

    Oracle ASCII() is a built-in function that returns the decimal numeric representation of the first character in the string specified by the parameter.
  2. CHR

    Oracle CHR() is a built-in function that returns the character corresponding to the given integer parameter.
  3. CONCAT

    Oracle CONCAT() is a built-in function that returns the concatenated string of two given parameters.
  4. INITCAP

    Oracle INITCAP() is a built-in function that capitalizes the first letter of each word in a given string and converts all other letters to lowercase.
  5. INSTR

    Oracle INSTR() 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.
  6. LENGTH

    Oracle LENGTH() is a built-in function that returns the character length of a given string.
  7. LOWER

    Oracle LOWER() is a built-in function that returns the lowercase form of the given string.
  8. LPAD

    Oracle LPAD() is a built-in function that left-pads a given string with a specified character sequence to make it a given length.
  9. LTRIM

    Oracle LTRIM() is a built-in function that returns a string with any specified leading characters (by default, spaces) removed.
  10. NCHR

    Oracle NCHR() is a built-in function that returns the character corresponding to the given integer parameter as a NVARCHAR2 type.
  11. NLS_INITCAP

    Oracle NLS_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.
  12. NLS_LOWER

    Oracle NLS_LOWER() is a built-in function that returns the lowercase version of a given string.
  13. NLS_UPPER

    Oracle NLS_UPPER() is a built-in function that returns the uppercase form of a given string.
  14. NLSSORT

    Oracle NLSSORT() is a built-in function that returns the collation key for a given string and the explicitly or implicitly specified collation.
  15. REGEXP_COUNT

    Oracle REGEXP_COUNT() is a built-in function that returns the number of occurrences of a given regular expression pattern in a source string.
  16. REGEXP_INSTR

    Oracle REGEXP_INSTR() is a built-in function that returns the index of a substring that matches a given regular expression pattern in a source string.
  17. REGEXP_REPLACE

    Oracle REGEXP_REPLACE() is a built-in function that replaces a string with new content that matches a specified regular expression.
  18. REGEXP_SUBSTR

    Oracle REGEXP_SUBSTR() is a built-in function that searches a given source string and returns a string that matches the given regular expression.
  19. REPLACE

    Oracle REPLACE() is a built-in function that replaces all occurrences of a specified substring in a string with a new substring.
  20. RPAD

    Oracle RPAD() is a built-in function that pads a given string with a given character sequence on the right side to reach a specified length.
  21. RTRIM

    Oracle RTRIM() is a built-in function that returns a string with any specified trailing characters (by default, spaces) removed.
  22. SOUNDEX

    Oracle SOUNDEX() is a built-in function that returns a string representing the pronunciation of a given English string.
  23. SUBSTR

    Oracle SUBSTR() is a built-in function that returns a specified length substring starting from a specified position in a string.
  24. TRANSLATE

    Oracle TRANSLATE() is a built-in function that translates a given string based on a specified translation relationship and returns the translated string.
  25. TRANSLATE-USING

    Oracle Oracle TRANSLATE(using) is a built-in function that converts the given string between the database character set and the national character set.
  26. TRIM

    Oracle TRIM() is a built-in function that returns a string with any specified leading and trailing characters (by default, whitespace) removed.
  27. UPPER

    Oracle UPPER() is a built-in function that returns the uppercase form of a given string.