当前位置: 代码迷 >> 综合 >> 计算字符串长度,中文俩字符,数字…
  详细解决方案

计算字符串长度,中文俩字符,数字…

热度:46   发布时间:2024-01-18 14:38:09.0
data: lv_str type string,
    lv_len type i.

lv_str = 'I love 中国?!'.
lv_len = cl_abap_list_utilities=>dynamic_output_length( lv_str ).
write:/ lv_len.


感谢群里的朋友; ABAP-Earth
  相关解决方案