ABAP 字符串拼接
2022/4/3 23:20:38
本文主要是介绍ABAP 字符串拼接,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
&&DATA S1 TYPE char20. data s2 type char30 . data s3 type char50 . s1 = '1113434 ' . s2 = '67890-'. s3 = s1 && S2. WRITE: S3. " 结果:111343467890-CONCATENATE
REPORT ZWYB_0007. DATA S1 TYPE CHAR20. DATA S2 TYPE CHAR30 . DATA S3 TYPE CHAR50 . DATA S4 TYPE CHAR50 . DATA SEP(1) VALUE ' ' . S1 = '1113434 ' . S2 = '67890-'. * S3 = S1 && S2. * concatenate S1 S2 INTO S4 RESPECTING BLANKS . CONCATENATE S1 S2 INTO S4 SEPARATED BY SEP.. * WRITE: S3. WRITE: S4. 结果:1113434 67890-
这篇关于ABAP 字符串拼接的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-22[开源]10.3K+ Star!轻量强大的开源运维平台,超赞!
- 2024-11-21Flutter基础教程:新手入门指南
- 2024-11-21Flutter跨平台教程:新手入门详解
- 2024-11-21Flutter跨平台教程:新手入门与实践指南
- 2024-11-21Flutter列表组件教程:初学者指南
- 2024-11-21Flutter列表组件教程:新手入门指南
- 2024-11-21Flutter入门教程:初学者必看指南
- 2024-11-21Flutter入门教程:从零开始的Flutter开发指南
- 2024-11-21Flutter升级教程:新手必读的升级指南
- 2024-11-21Flutter升级教程:轻松掌握Flutter版本更新