mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 19:26:10 +08:00
add escape of -
This commit is contained in:
parent
425b6a2b7d
commit
fc26a6c9f6
|
@ -846,7 +846,7 @@ CLASS zcl_excel_common IMPLEMENTATION.
|
|||
lv_value = ip_value.
|
||||
|
||||
|
||||
FIND REGEX `\s|'` IN lv_value. " \s finds regular and white spaces
|
||||
FIND REGEX `\s|'|-` IN lv_value. " \s finds regular and white spaces
|
||||
IF sy-subrc = 0.
|
||||
REPLACE ALL OCCURRENCES OF `'` IN lv_value WITH `''`.
|
||||
CONCATENATE `'` lv_value `'` INTO lv_value .
|
||||
|
|
Loading…
Reference in New Issue
Block a user