![]() Chapter Contents |
![]() Previous |
![]() Next |
| KSCAN |
| Category: | DBCS |
| Syntax | |
| Arguments | |
| Details |
Syntax |
| KSCAN(argument,n<, delimiters>) |
| Tip: | If n is negative, KSCAN selects the word in the character string starting from the end of the string. If |n| is greater than the number of words in the character string, KSCAN returns a blank value. |
| Default: | If you omit delimiters in an ASCII environment, SAS uses the following
characters:
If you omit delimiters on an EBCDIC environment, SAS uses the following characters:
|
||||
| Tip: | If you represent delimiters as a constant, enclose delimiters in quotation marks. |
| Details |
Leading delimiters before the first word in the character string do not effect KSCAN. If there are two or more contiguous delimiters, KSCAN treats them as one.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.