STRING_REPLACE

문자열을 교체하는 함수

STRING_REPLACE
    CALL FUNCTION ‘STRING_REPLACE’
       EXPORTING
         pattern                   = <l_pattern>
         substitute                = <l_substitute>
*             MAX_REPLACES              = 0
*           IMPORTING
*             NUMBER_OF_REPLACES        =
       CHANGING
         text                      = p_text
       EXCEPTIONS
         wrong_string_length       = 1
         OTHERS                    2.
    IF sy-subrc <> 0.
      CONTINUE.
    ENDIF.

2 Comments

avatar

감사합니다

avatar

감사 합니다.

Leave a Reply