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
计算字符串长度,中文俩字符,数字…
阅读 76
2022-08-16
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
相关推荐
精彩评论(0)