Skip to content

ABAP Keyword Documentation →  ABAP - Short Reference 

FIND - Short Reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


FIND [{FIRST OCCURRENCE}|{ALL OCCURRENCES} OF] 
     {[SUBSTRING] substring} | {REGEX regex} IN
     { {[SECTION [OFFSET off] [LENGTH len] OF] dobj}
     | {TABLE itab [FROM lin1 [OFFSET off1]]
                   [TO   lin2 [OFFSET off2]]} }
     [IN {CHARACTER|BYTE} MODE]
     [{RESPECTING|IGNORING} CASE]
     [MATCH COUNT  mcnt]
     { {[MATCH LINE   mlin]
        [MATCH OFFSET moff]
        [MATCH LENGTH mlen]}
     | [RESULTS result_tab|result_wa] }
     [SUBMATCHES s1 s2 ...].

Effect

Searches for character or byte strings or for regular expressions in a character-type or byte-like data object dobj or in an internal table itab.

Additions