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
... ( ... 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.