This commit is contained in:
danrega
2025-05-02 16:24:12 +02:00
parent 88e27784f8
commit 55b21ff7e8
19 changed files with 1694 additions and 1220 deletions

View File

@@ -819,9 +819,9 @@ string_cond_pattern = replace( val = `cd` pcre = `(ab)?cd` with = `${1:-yz}cd` )
The following example demonstrates a selection of syntax options with `FIND` and `REPLACE`. There are multiple options as there is a rich variety of additions. For more details, refer to the [String Processing](07_String_Processing.md) cheat sheet.
```abap
"-----------------------------------------------------------------------------
"------------------------------- FIND ----------------------------------------
"-----------------------------------------------------------------------------
*&---------------------------------------------------------------------*
*& FIND
*&---------------------------------------------------------------------*
DATA(str) = `Cathy's black cat on the mat played with Matt.`.
@@ -943,9 +943,9 @@ ASSERT url_parts = url_parts_for_loop.
*abap-concepts
*controlled-sap-luw
"-----------------------------------------------------------------------------
"------------------------------- REPLACE -------------------------------------
"-----------------------------------------------------------------------------
*&---------------------------------------------------------------------*
*& REPLACE
*&---------------------------------------------------------------------*
DATA(str_replace) = `ab apppc app`.
DATA(str_replace_copy) = str_replace.