String-Manipulation Functions

String-manipulation functions perform various operations on strings of characters.

The string-manipulation functions are identified in the following diagram:
Read syntax diagramSkip visual syntax diagram
String-Manipulation Functions

                         (1)                      
|--+-| CONCAT Function |----------------------+-----------------|
   |                    (2)                   |   
   +-| ASCII Function |-----------------------+   
   |                   (3)                    |   
   +-| TRIM Function |------------------------+   
   |  (4)                     (5)             |   
   +-------| LTRIM Function |-----------------+   
   |  (4)                     (6)             |   
   +-------| RTRIM Function |-----------------+   
   |                    (7)                   |   
   +-| SPACE Function |-----------------------+   
   |                      (8)                 |   
   +-| REVERSE Function |---------------------+   
   |  (4)                       (9)           |   
   +-------| REPLACE Function |---------------+   
   |  (4)                    (10)             |   
   +-------| LPAD Function |------------------+   
   |  (4)                    (11)             |   
   +-------| RPAD Function |------------------+   
   |                  (12)                    |   
   +-| CHR Function |-------------------------+   
   |  (4)                                (13) |   
   +-------| Case-Conversion Functions |------+   
   |                         (14)             |   
   '-| Substring Functions |------------------'   

Notes:
  1. See CONCAT Function
  2. See ASCII Function
  3. See TRIM Function
  4. Informix® extension
  5. See LTRIM Function
  6. See RTRIM Function
  7. See SPACE function
  8. See REVERSE function
  9. See REPLACE Function
  10. See LPAD Function
  11. See RPAD Function
  12. See CHR Function
  13. See Case-Conversion Functions
  14. See Substring functions

Sections that follow describe each of the built-in string manipulation functions.