1 2 3 4 5 6 7 8 9 10 11 12 |
DATA: t(10) TYPE c VALUE 'a c e g i ', string LIKE t, over(10) TYPE c VALUE 'ABCDEFGHIJ', str(2) TYPE c VALUE 'ai'. string = t. WRITE string. WRITE / over. OVERLAY string WITH over. WRITE / string. string = t. OVERLAY string WITH over ONLY str. WRITE / string. |
Output:
a c e g i
ABCDEFGHIJ
aBcDeFgHiJ
A c e g I