KRIGHT Function

Right-aligns a character expression by trimming trailing DBCS blanks and SO/SI.
Category: DBCS
Tip: See RIGHT Function in SAS Functions and CALL Routines: Reference.

Syntax

KRIGHT(argument)

Required Argument

argument
specifies any SAS character expression.

Details

See Internationalization Compatibility for SAS String Functions for restrictions and more information.
The KRIGHT function returns an argument with trailing blanks moved to the start of the value. The argument's length does not change.