ABAP中CA CS CO用法
abap CA CO CS
1.CA contain any
str1 ca str2 遍历str1,其中的每个字符对应到str2的每个字符,如果对应成功,注意:只要有一个字符成功,就为true.
如:str1 = ‘我a’ str2='hubab' -----true
CO contain only
str1 ca str2 遍历str1,其中的每个字符对应到str2的每个字符,如果对应成功,注意:str1中的每一個字符成功,就为true.
如:str1 = ‘我a’ str2='hubab' -----false
str1 = ‘ba’ str2='hubab' -----true
CS contain string
str1 ca str2 str1 是否包含str2。
CP contains pattern
str1 ca str2
str1 = 'aac' str2 = '#aA#c' true
str1 = 'aAc' str2 = '#aA#c' true
str1 = '123abc123' str2 = '*abc*' sy-fdpos = 3.
post SAP-Garson
原文链接:https://blog.csdn.net/weixin_43734184/article/details/120283348文章来自于网络,如果侵犯了您的权益,请联系站长删除!