Categories and Descriptions of Functions and CALL Routines
|
Category |
Functions and CALL Routines |
Description |
|
Arithmetic |
DIVIDE Function
|
Returns the result of a division that handles special missing values
for ODS output. |
|
Array |
DIM Function
|
Returns the number of elements in an array. |
|
HBOUND Function
|
Returns the upper bound of an array. |
|
LBOUND Function
|
Returns the lower bound of an array. |
|
Bitwise Logical Operations |
BAND Function
|
Returns the bitwise logical AND of two arguments. |
|
BLSHIFT Function
|
Returns the bitwise logical left shift of two arguments. |
|
BNOT Function
|
Returns the bitwise logical NOT of an argument. |
|
BOR Function
|
Returns the bitwise logical OR of two arguments. |
|
BRSHIFT Function
|
Returns the bitwise logical right shift of two arguments. |
|
BXOR Function
|
Returns the bitwise logical EXCLUSIVE OR of two arguments. |
|
Character String Matching |
CALL PRXCHANGE Routine
|
Performs a pattern-matching replacement. |
|
CALL PRXDEBUG Routine
|
Enables Perl regular expressions in a DATA step to send debugging output
to the SAS log. |
|
CALL PRXFREE Routine
|
Frees memory that was allocated for a Perl regular expression. |
|
CALL PRXNEXT Routine
|
Returns the position and length of a substring that matches a pattern,
and iterates over multiple matches within one string. |
|
CALL PRXPOSN Routine
|
Returns the start position and length for a capture buffer. |
|
CALL PRXSUBSTR Routine
|
Returns the position and length of a substring that matches a pattern. |
|
PRXCHANGE Function
|
Performs a pattern-matching replacement. |
|
PRXMATCH Function
|
Searches for a pattern match and returns the position at which the pattern
is found. |
|
PRXPAREN Function
|
Returns the last bracket match for which there is a match in a pattern. |
|
PRXPARSE Function
|
Compiles a Perl regular expression (PRX) that can be used for pattern
matching of a character value. |
|
PRXPOSN Function
|
Returns a character string that contains the value for a capture buffer. |
|
Character |
ANYALNUM Function
|
Searches a character string for an alphanumeric character, and returns
the first position at which the character is found. |
|
ANYALPHA Function
|
Searches a character string for an alphabetic character, and returns
the first position at which the character is found. |
|
ANYCNTRL Function
|
Searches a character string for a control character, and returns the
first position at which that character is found. |
|
ANYDIGIT Function
|
Searches a character string for a digit, and returns the first position
at which the digit is found. |
|
ANYFIRST Function
|
Searches a character string for a character that is valid as the first
character in a SAS variable name under VALIDVARNAME=V7, and returns the first
position at which that character is found. |
|
ANYGRAPH Function
|
Searches a character string for a graphical character, and returns the
first position at which that character is found. |
|
ANYLOWER Function
|
Searches a character string for a lowercase letter, and returns the
first position at which the letter is found. |
|
ANYNAME Function
|
Searches a character string for a character that is valid in a SAS variable
name under VALIDVARNAME=V7, and returns the first position at which that character
is found. |
|
ANYPRINT Function
|
Searches a character string for a printable character, and returns the
first position at which that character is found. |
|
ANYPUNCT Function
|
Searches a character string for a punctuation character, and returns
the first position at which that character is found. |
|
ANYSPACE Function
|
Searches a character string for a white-space character (blank, horizontal
and vertical tab, carriage return, line feed, and form feed), and returns
the first position at which that character is found. |
|
ANYUPPER Function
|
Searches a character string for an uppercase letter, and returns the
first position at which the letter is found. |
|
ANYXDIGIT Function
|
Searches a character string for a hexadecimal character that represents
a digit, and returns the first position at which that character is found. |
|
BYTE Function
|
Returns one character in the ASCII or the EBCDIC collating sequence. |
|
CALL CATS Routine
|
Removes leading and trailing blanks, and returns a concatenated character
string. |
|
CALL CATT Routine
|
Removes trailing blanks, and returns a concatenated character string. |
|
CALL CATX Routine
|
Removes leading and trailing blanks, inserts delimiters, and returns
a concatenated character string. |
|
CALL COMPCOST Routine
|
Sets the costs of operations for later use by the COMPGED function |
|
CALL MISSING Routine
|
Assigns missing values to the specified character or numeric variables. |
|
CALL SCAN Routine
|
Returns the position and length of the nth word from a
character string. |
|
CAT Function
|
Does not remove leading or trailing blanks, and returns a concatenated
character string. |
|
CATQ Function
|
Concatenates character or numeric values by using a delimiter to separate
items and by adding quotation marks to strings that contain the delimiter. |
|
CATS Function
|
Removes leading and trailing blanks, and returns a concatenated character
string. |
|
CATT Function
|
Removes trailing blanks, and returns a concatenated character string. |
|
CATX Function
|
Removes leading and trailing blanks, inserts delimiters, and returns
a character string. |
|
CHAR Function
|
Returns a single character from a specified position in a character
string. |
|
CHOOSEC Function
|
Returns a character value that represents the results of choosing from
a list of arguments. |
|
CHOOSEN Function
|
Returns a numeric value that represents the results of choosing from
a list of arguments. |
|
COALESCEC Function
|
Returns the first non-missing value from a list of character arguments. |
|
COLLATE Function
|
Returns a character string in ASCII or EBCDIC collating sequence. |
|
COMPARE Function
|
Returns the position of the leftmost character by which two strings
differ, or returns 0 if there is no difference. |
|
COMPBL Function
|
Removes multiple blanks from a character string. |
|
COMPGED Function
|
Returns the generalized edit distance between two strings. |
|
COMPLEV Function
|
Returns the Levenshtein edit distance between two strings. |
|
COMPRESS Function
|
Returns a character string with specified characters removed from the
original string. |
|
COUNT Function
|
Counts the number of times that a specified substring appears within
a character string. |
|
COUNTC Function
|
Counts the number of characters in a string that appear or do not appear
in a list of characters. |
|
COUNTW Function
|
Counts the number of words in a character string. |
|
DEQUOTE Function
|
Removes matching quotation marks from a character string that begins
with a quotation mark, and deletes all characters to the right of the closing
quotation mark. |
|
FIND Function
|
Searches for a specific substring of characters within a character string. |
|
FINDC Function
|
Searches a string for any character in a list of characters. |
|
FINDW Function
|
Returns the character position of a word in a string, or returns the
number of the word in a string. |
|
FIRST Function
|
Returns the first character in a character string. |
|
IFC Function
|
Returns a character value based on whether an expression is true, false,
or missing. |
|
INDEX Function
|
Searches a character expression for a string of characters, and returns
the position of the string's first character for the first occurrence of the
string. |
|
INDEXC Function
|
Searches a character expression for any of the specified characters,
and returns the position of that character. |
|
INDEXW Function
|
Searches a character expression for a string that is specified as a
word, and returns the position of the first character in the word. |
|
LEFT Function
|
Left-aligns a character string. |
|
LENGTH Function
|
Returns the length of a non-blank character string, excluding trailing
blanks, and returns 1 for a blank character string. |
|
LENGTHC Function
|
Returns the length of a character string, including trailing blanks. |
|
LENGTHM Function
|
Returns the amount of memory (in bytes) that is allocated for a character
string. |
|
LENGTHN Function
|
Returns the length of a character string, excluding trailing blanks. |
|
LOWCASE Function
|
Converts all letters in an argument to lowercase. |
|
MD5 Function
|
Returns the result of the message digest of a specified string. |
|
MISSING Function
|
Returns a numeric result that indicates whether the argument contains
a missing value. |
|
NLITERAL Function
|
Converts a character string that you specify to a SAS name literal. |
|
NOTALNUM Function
|
Searches a character string for a non-alphanumeric character, and returns
the first position at which the character is found. |
|
NOTALPHA Function
|
Searches a character string for a nonalphabetic character, and returns
the first position at which the character is found. |
|
NOTCNTRL Function
|
Searches a character string for a character that is not a control character,
and returns the first position at which that character is found. |
|
NOTDIGIT Function
|
Searches a character string for any character that is not a digit, and
returns the first position at which that character is found. |
|
NOTFIRST Function
|
Searches a character string for an invalid first character in a SAS
variable name under VALIDVARNAME=V7, and returns the first position at which
that character is found. |
|
NOTGRAPH Function
|
Searches a character string for a non-graphical character, and returns
the first position at which that character is found. |
|
NOTLOWER Function
|
Searches a character string for a character that is not a lowercase
letter, and returns the first position at which that character is found. |
|
NOTNAME Function
|
Searches a character string for an invalid character in a SAS variable
name under VALIDVARNAME=V7, and returns the first position at which that character
is found. |
|
NOTPRINT Function
|
Searches a character string for a nonprintable character, and returns
the first position at which that character is found. |
|
NOTPUNCT Function
|
Searches a character string for a character that is not a punctuation
character, and returns the first position at which that character is found. |
|
NOTSPACE Function
|
Searches a character string for a character that is not a white-space
character (blank, horizontal and vertical tab, carriage return, line feed,
and form feed), and returns the first position at which |