Returns a character string in ASCII or EBCDIC collating sequence.
Category: | Character |
Restriction: | I18N Level 0 functions are designed for use with Single Byte Character Sets (SBCS) only. |
See: | COLLATE Function: Windows in SAS Companion for Windows |
COLLATE Function: UNIX in SAS Companion for UNIX Environments |
specifies the numeric position in the collating sequence of the first character to be returned.
Interaction | If you specify only start-position, COLLATE returns consecutive characters from that position to the end of the collating sequence or up to 255 characters, whichever comes first. |
specifies the numeric position in the collating sequence of the last character to be returned.
Tips | end-position must be larger than start-position |
If you specify end-position, COLLATE returns all character values in the collating sequence between start-position and end-position, inclusive. | |
If you omit end-position and use length, mark the end-position place with a comma. |
specifies the number of characters in the collating sequence.
Default | 200 |
Tip | If you omit end-position, use length to specify the length of the result explicitly. |