String :
------
Collection of chars is called string...
char ----------> single letter..
string ---> 65782
string operations :
------------------
1. Concatenate.
2. Split.
3. Translate.
4. Condense.
5. Length.
6. Replace.
7. Reverse.
1. Concatenate.
---------------
It is used to combine the multiple string values into another string.
syntax :
-------
Concatenate str1 str2 str3.... into string.
2. split :
------
It is used to divide the one main string value and pass it into multiple
strings.
SYNTAX :
-------
SPLIT STRING_VAL AT POS INTO STR1 STR2...ETC.
3. Translate :
--------
Translate is used to convert the upper case strings into lower case......Lower
case to upper case.
syntax :
------
Translate string_val to upper/lower case.
4. Condense :
---------
It is used to remove the unwanted space in between the chars of the string.
hyderabad --->
h y d er a
b a d
syntax :
--------
condense string_val no-gaps.
syntax :
-------
Translate string_val to upper case/lower case.
4. CONDENSE :
--------
it is used to remove the unwanted space in between the chars of the string.
hyderabad ---->
h y de r a b ad---->
syntax :
-------
Condense string_val no-gaps.
5. Length :
-------
Length is used to trace out the no of chars of the string.
WELCOME TO ABAP WORLD ---> NO OF CHARS... 20 21...
ZFD001 ------ 6 ----- " "
ZFDR -------4 ------- " "
ZFDR0001------8 ----- FUNCTIONALITIES..
syntax :
-------
variable_name = strlen(string_value).
ZFD1 ---> MODEL --- 4 --- BASIC -----FUNCTIONALITY
ZFD11 ---> m ----- 5 ----- mIDDLE --- "
ZFD111 ---> m ------ 6 ---- TOP -----> FUNCT
6. Replace :
-------
syntax :
-------
REPLACE fisrt/all OCCURRENCES OF 'old_char' in string WITH 'new_char'.
Anil krishna oberay -----> i----o ----> anol krishna oberay ---->
information ----> i --- u -- unformatuon...
7, REVSTR :
------
it is used to reverse the string.
var_name = reverse ( string_val ).