importstring(ls_string)
该字符串是制表符分隔的文本,具有单引号。当字符串导入DataWindow时,此单引号会导致错误。
我尝试用~"
或\"
替换所有出现的双引号,但两者都不起作用。
您认为潜在的解决方法是什么?
感谢。
答案 0 :(得分:2)
The datawindow escape character for a single quote (') is three tilde characters and then the single quote (which escapes the single quote as well as the tilde itself).
This makes the entry [O'Connor] look like [O~~~'Connor].
In the PB help this is under the heading: 'Nested strings and special characters for DataWindow object properties'