Previous Page | Next Page

Autocall Macros for NLS

%KTRIM and %QKTRIM Autocall Macros



Trim trailing blanks.
Category: DBCS
Requirement: MAUTOSOURCE system option

Syntax
Details

Syntax

%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]


Details

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

Previous Page | Next Page | Top of Page