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

Syntax


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

Effect

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.


Note

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