specifies a numeric expression that is the length of the substring to extract. Tip: If you omit n, SAS extracts the remainder of the expression.
is a character string or a text expression. If argument might contain a special character or mnemonic operator, listed below, use %QSUBSTR. is an integer or an expression (text, logical, or arithmetic ...