Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Character String and Byte String Processing →  System Classes for Character String and Byte String Processing 

Class with Utilities for String Processing

The class CL_ABAP_CHAR_UTILITIES provides attributes and methods as utilities for string processing.

The components of this class are all static and public. The attributes are read-only and are initialized in the class constructor. Details about the attributes and methods of this class are described in the class documentation.

Other versions: 7.31 | 7.40 | 7.54


Example

The following rows demonstrate that attributes of the class CL_ABAP_CHAR_UTILITIES containing control characters can be replaced by a representation of the control characters in a string template .

ASSERT cl_abap_char_utilities=>newline        = |\n|. 
ASSERT cl_abap_char_utilities=>horizontal_tab = |\t|. 
ASSERT cl_abap_char_utilities=>cr_lf          = |\r\n|.