SAP NetWeaver AS ABAP Release 750, ©Copyright 2016 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 → Processing Functions for Character-Like Arguments →
condense - Condense Function
... condense( [val =] text [del = del] [from = from] [to = to] ) ...
This function returns the content of text, condensed as follows:
The default values for del, from, and to are blank in each case. If del, from, and to are not specified, val = can also be omitted.
del, from, and to are character-like expression positions. If they have a fixed length, trailing blanks are ignored.
The return code has the type string.
The return codes of the following functions are "abc_def", "abc___def" and "abcXdef" (where "_" stands for a blank).
The return code of the following function call is "Rock'n'Roll".