SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
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
Syntax
... ( ... sub = substring ... ) ...
Effect
substring is used to pass a character string whose characters are to be found or inserted. substring is a character like expression position. If a character-like data object with a fixed length is specified, any trailing blanks are ignored.
Note
The behavior displayed when an empty string is specified in substring depends on the function in question.