![]() Chapter Contents |
![]() Previous |
![]() Next |
| KLENGTH |
| Category: | DBCS |
| Syntax | |
| Arguments | |
| Details |
Syntax |
| KLENGTH(argument) |
| Details |
The KLENGTH function returns an integer that represents the position of the right-most nonblank character in the argument. If the value of the argument is missing, KLENGTH returns a value of 1. If the argument is an uninitialized numeric variable, KLENGTH returns a value of 12 and prints a note in the SAS log that the numeric values have been converted to character values.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.