按照sas官网文档,modifier=g相当于删除图形字符,modifier=w是删除所有可打印字符。我理解的是w包含g和空格,但是运行代码发现这两个完全没区别。所以求助大佬们能否给个例子让我看看这俩有啥区别
modifier
specifies a character constant, variable, or expression in which each non-blank character modifies the action of the KCOMPRESS function. Full-width alphabetic and numeric characters are supported. Blanks are ignored. The following characters can be used as modifiers:
g or G adds graphic characters to the list of characters.
w or W adds printable characters to the list of characters.
modifier
specifies a character constant, variable, or expression in which each non-blank character modifies the action of the KCOMPRESS function. Full-width alphabetic and numeric characters are supported. Blanks are ignored. The following characters can be used as modifiers:
g or G adds graphic characters to the list of characters.
w or W adds printable characters to the list of characters.