SAS函数汇总
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Bitwise Logical Operations
BAND Function BLSHIFT Function BNOT Function BOR Function BRSHIFT Function BXOR Function
Character String Matching来自百度文库
CALL PRXCHANGE Routine CALL PRXDEBUG Routine CALL PRXFREE Routine
ANYALPHA Function
returns the first position at which the character is found. ANYCNTRL Function ANYDIGIT Function ANYFIRST Function Searches a character string for a control character, and returns the first position at which that character is found. Searches a character string for a digit, and returns the first position at which the digit is found. 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. Searches a character string for a graphical character, and returns the first position at which that character is found. Searches a character string for a lowercase letter, and returns the first position at which the letter is found. 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. Searches a character string for a printable character, and returns the first position at which that character is found. Searches a character string for a punctuation character, and returns the first position at which that character is found.
Category Arithmetic Array
Functions and CALL Routines DIVIDE Function DIM Function HBOUND Function LBOUND Function
Description Returns the result of a division that handles special missing values for ODS output. Returns the number of elements in an array. Returns the upper bound of an array. Returns the lower bound of an array. Returns the bitwise logical AND of two arguments. Returns the bitwise logical left shift of two arguments. Returns the bitwise logical NOT of an argument. Returns the bitwise logical OR of two arguments. Returns the bitwise logical right shift of two arguments. Returns the bitwise logical EXCLUSIVE OR of two arguments. Performs a pattern-matching replacement. Enables Perl regular expressions in a DATA step to send debugging output to the SAS log. Frees memory that was allocated for a Perl regular expression.
ANYUPPER Function ANYXDIGIT Function
BYTE Function CALL CATS Routine CALL CATT Routine CALL CATX Routine CALL COMPCOST Routine CALL MISSING Routine
variables. CALL SCAN Routine CAT Function CATQ Function Returns the position and length of the nth word from a character string. Does not remove leading or trailing blanks, and returns a concatenated character string. Concatenates character or numeric values by using a delimiter to separate items and by adding quotation marks to strings that contain the delimiter. Removes leading and trailing blanks, and returns a concatenated character string. Removes trailing blanks, and returns a concatenated character string. Removes leading and trailing blanks, inserts delimiters, and returns a character string. Returns a single character from a specified position in a character string. Returns a character value that represents the results of choosing from a list of arguments. Returns a numeric value that represents the results of
CALL PRXPOSN Routine CALL PRXSUBSTR Routine PRXCHANGE Function PRXMATCH Function PRXPAREN Function PRXPARSE Function PRXPOSN Function Character ANYALNUM Function
CALL PRXNEXT Routine
Returns the position and length of a substring that matches a pattern, and iterates over multiple matches within one string. Returns the start position and length for a capture buffer. Returns the position and length of a substring that matches a pattern. Performs a pattern-matching replacement. Searches for a pattern match and returns the position at which the pattern is found. Returns the last bracket match for which there is a match in a pattern. Compiles a Perl regular expression (PRX) that can be used for pattern matching of a character value. Returns a character string that contains the value for a capture buffer. Searches a character string for an alphanumeric character, and returns the first position at which the character is found. Searches a character string for an alphabetic character, and
ANYGRAPH Function ANYLOWER Function ANYNAME Function
ANYPRINT Function ANYPUNCT Function
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. Searches a character string for an uppercase letter, and returns the first position at which the letter is found. Searches a character string for a hexadecimal character that represents a digit, and returns the first position at which that character is found. Returns one character in the ASCII or the EBCDIC collating sequence. Removes leading and trailing blanks, and returns a concatenated character string. Removes trailing blanks, and returns a concatenated character string. Removes leading and trailing blanks, inserts delimiters, and returns a concatenated character string. Sets the costs of operations for later use by the COMPGED function Assigns missing values to the specified character or numeric