Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing Internal Data →  Character String and Byte String Processing →  Expressions and Functions for String Processing →  String Functions →  Common Parameters of Character String Functions 

sub - Substring

Other versions: 7.31 | 7.40 | 7.54


... ( ... sub = substring ...  ) ...


substring is used to pass a character string to be searched for or inserted. substring is a character-like expression position. If a character-like data object of fixed length is specified, trailing blanks are ignored.


When you enter an empty character string in substring, the behavior depends on the relevant function.