Category Focus

Utility Macro

Back to main article

Returns the last word from a delimited list

The LASTWORD macro returns the last word from a delimited list of words. This is useful for some generic forms of BY processing in DATA Step with first. and last. BY processing variables.

Codes in same category

Library to CARDS File Conversion

Converts all members of a SAS library into CARDS files, generating either one...

String Formatting with Delimiters and Quoting

This macro adds custom quotes and/or delimiters to an existing character stri...

Table label retrieval macro

Function-type macro to get the label of a specified SAS table.

Related Documentation

Aucune documentation.
Need help?

Consultez notre Knowledge Hub pour plus de ressources.

Go to Hub