标签:string str back 字符串 table size 1.7 -o sel
常用函数:
SPLIT: 把某一字符串 根据 某一字符串 拆分成一个 内表 例如下
DATA: lv_str TYPE string, lt_split_table TYPE TABLE OF string.
lv_str = ‘/This/is/a/test./‘.
SPLIT lv_str AT ‘/‘ INTO TABLE lt_split_table.
SHIFT:字符串截取
data: zstr1 TYPE string .
data: zstr2 TYPE string .
data: zstr3 TYPE string .
INITIALIZATION .
zstr1 = ‘123‘.
START-OF-SELECTION .
SHIFT zstr1 UP TO ‘2‘ LEFT .
write: zstr1.
标签:string str back 字符串 table size 1.7 -o sel
原文地址:https://www.cnblogs.com/liuks/p/10400289.html