mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 19:16: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.
|
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.
|
IF sy-subrc = 0.
|
||||||
REPLACE ALL OCCURRENCES OF `'` IN lv_value WITH `''`.
|
REPLACE ALL OCCURRENCES OF `'` IN lv_value WITH `''`.
|
||||||
CONCATENATE `'` lv_value `'` INTO lv_value .
|
CONCATENATE `'` lv_value `'` INTO lv_value .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user