搜索
FIND
语句可以直接使用正则表达式:
DATA(lv_test) = 'The quick brown fox'.
FIND REGEX '..ck' IN lv_test.
" sy-subrc == 0
FIND REGEX 'a[sdf]g' IN lv_test.
" sy-subrc == 4
FIND
语句可以直接使用正则表达式:
DATA(lv_test) = 'The quick brown fox'.
FIND REGEX '..ck' IN lv_test.
" sy-subrc == 0
FIND REGEX 'a[sdf]g' IN lv_test.
" sy-subrc == 4