有什么方法可以在多行中使用|
字符串操作员?
使用经典的CONCATENATE
令牌,您可以进行以下作业:
CONCATENATE 'A rubber duck is a toy shaped like a stylized'
'duck, generally yellow with a flat base. It'
'may be made of rubber or rubber-like material'
'such as vinyl plastic.' INTO lv_variable SEPARATED BY space.
我没有找到有效的方法来执行以下操作:
lv_variable = |A rubber duck is a toy shaped like a stylized | &
|duck, generally yellow with a flat base. It | &
|may be made of rubber or rubber-like material | &
|such as vinyl plastic.|.
是否有一种方法可以完成此操作,或者在与|
操作员一起工作时,您是否限制了一行?
您可以做到这一点:
data : lv_variable type string.
lv_variable = |A rubber duck is a toy shaped like a stylized| &&
|duck, generally yellow with a flat base. It | &&
|may be made of rubber or rubber-like material | &&
|such as vinyl plastic.|.
write lv_variable.