sasExtractLetStrings: extract quoted or unquoted SAS string definitions
Description
Finds all the LET statements in some SAS code and writes them to an R list. The list item name is the SAS variable name, and each list item is a character vector of the contents. This is specifically for string assignements, but probably easy to adapter to numbers if ever needed.
Usage
sasExtractLetStrings(x)
Arguments
x
is a vector of character strings, typically taken from something like readLines(someSasFilePath)