Trim trailing blanks.
Category: |
DBCS
|
Requirement: |
MAUTOSOURCE system option
|
%KTRIM (text | text expression)
|
%QKTRIM (text | text
expression)
|
Note: Autocall macros are included in a SAS library. This library
might not be installed at your site or might be a site-specific version. If
you cannot access this macro or if you want to find out if the library is
a site-specific version, see your on-site SAS support personnel. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
The KTRIM macro and the QKTRIM macro trim trailing blanks.
If the argument contains a special character or mnemonic operator, listed
below, use %QKTRIM.
QKTRIM produces a result with the following special characters and mnemonic
operators masked so the macro processor interprets them as text instead of
as elements of the macro language:
& % ' " ( ) + - * / < > = ¬ ? ~ ; , # blank AND OR NOT EQ
NE LE LT GE GT IN
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.