SAS函数汇总Word文档格式.docx

上传人:b****3 文档编号:18392781 上传时间:2022-12-16 格式:DOCX 页数:61 大小:25.88KB
下载 相关 举报
SAS函数汇总Word文档格式.docx_第1页
第1页 / 共61页
SAS函数汇总Word文档格式.docx_第2页
第2页 / 共61页
SAS函数汇总Word文档格式.docx_第3页
第3页 / 共61页
SAS函数汇总Word文档格式.docx_第4页
第4页 / 共61页
SAS函数汇总Word文档格式.docx_第5页
第5页 / 共61页
点击查看更多>>
下载资源
资源描述

SAS函数汇总Word文档格式.docx

《SAS函数汇总Word文档格式.docx》由会员分享,可在线阅读,更多相关《SAS函数汇总Word文档格式.docx(61页珍藏版)》请在冰豆网上搜索。

SAS函数汇总Word文档格式.docx

Returnsthebitwiselogicalleftshiftoftwoarguments.

BNOTFunction

ReturnsthebitwiselogicalNOTofanargument.

BORFunction

ReturnsthebitwiselogicalORoftwoarguments.

BRSHIFTFunction

Returnsthebitwiselogicalrightshiftoftwoarguments.

BXORFunction

ReturnsthebitwiselogicalEXCLUSIVEORoftwoarguments.

CharacterStringMatching

CALLPRXCHANGERoutine

Performsapattern-matchingreplacement.

CALLPRXDEBUGRoutine

EnablesPerlregularexpressionsinaDATAsteptosenddebuggingoutputtotheSASlog.

CALLPRXFREERoutine

FreesmemorythatwasallocatedforaPerlregularexpression.

CALLPRXNEXTRoutine

Returnsthepositionandlengthofasubstringthatmatchesapattern,anditeratesovermultiplematcheswithinonestring.

CALLPRXPOSNRoutine

Returnsthestartpositionandlengthforacapturebuffer.

CALLPRXSUBSTRRoutine

Returnsthepositionandlengthofasubstringthatmatchesapattern.

PRXCHANGEFunction

PRXMATCHFunction

Searchesforapatternmatchandreturnsthepositionatwhichthepatternisfound.

PRXPARENFunction

Returnsthelastbracketmatchforwhichthereisamatchinapattern.

PRXPARSEFunction

CompilesaPerlregularexpression(PRX)thatcanbeusedforpatternmatchingofacharactervalue.

PRXPOSNFunction

Returnsacharacterstringthatcontainsthevalueforacapturebuffer.

Character

ANYALNUMFunction

Searchesacharacterstringforanalphanumericcharacter,andreturnsthefirstpositionatwhichthecharacterisfound.

ANYALPHAFunction

Searchesacharacterstringforanalphabeticcharacter,andreturnsthefirstpositionatwhichthecharacterisfound.

ANYCNTRLFunction

Searchesacharacterstringforacontrolcharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.

ANYDIGITFunction

Searchesacharacterstringforadigit,andreturnsthefirstpositionatwhichthedigitisfound.

ANYFIRSTFunction

SearchesacharacterstringforacharacterthatisvalidasthefirstcharacterinaSASvariablenameunderVALIDVARNAME=V7,andreturnsthefirstpositionatwhichthatcharacterisfound.

ANYGRAPHFunction

Searchesacharacterstringforagraphicalcharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.

ANYLOWERFunction

Searchesacharacterstringforalowercaseletter,andreturnsthefirstpositionatwhichtheletterisfound.

ANYNAMEFunction

SearchesacharacterstringforacharacterthatisvalidinaSASvariablenameunderVALIDVARNAME=V7,andreturnsthefirstpositionatwhichthatcharacterisfound.

ANYPRINTFunction

Searchesacharacterstringforaprintablecharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.

ANYPUNCTFunction

Searchesacharacterstringforapunctuationcharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.

ANYSPACEFunction

Searchesacharacterstringforawhite-spacecharacter(blank,horizontalandverticaltab,carriagereturn,linefeed,andformfeed),andreturnsthefirstpositionatwhichthatcharacterisfound.

ANYUPPERFunction

Searchesacharacterstringforanuppercaseletter,andreturnsthefirstpositionatwhichtheletterisfound.

ANYXDIGITFunction

Searchesacharacterstringforahexadecimalcharacterthatrepresentsadigit,andreturnsthefirstpositionatwhichthatcharacterisfound.

BYTEFunction

ReturnsonecharacterintheASCIIortheEBCDICcollatingsequence.

CALLCATSRoutine

Removesleadingandtrailingblanks,andreturnsaconcatenatedcharacterstring.

CALLCATTRoutine

Removestrailingblanks,andreturnsaconcatenatedcharacterstring.

CALLCATXRoutine

Removesleadingandtrailingblanks,insertsdelimiters,andreturnsaconcatenatedcharacterstring.

CALLCOMPCOSTRoutine

SetsthecostsofoperationsforlaterusebytheCOMPGEDfunction

CALLMISSINGRoutine

Assignsmissingvaluestothespecifiedcharacterornumericvariables.

CALLSCANRoutine

Returnsthepositionandlengthofthenthwordfromacharacterstring.

CATFunction

Doesnotremoveleadingortrailingblanks,andreturnsaconcatenatedcharacterstring.

CATQFunction

Concatenatescharacterornumericvaluesbyusingadelimitertoseparateitemsandbyaddingquotationmarkstostringsthatcontainthedelimiter.

CATSFunction

CATTFunction

CATXFunction

Removesleadingandtrailingblanks,insertsdelimiters,andreturnsacharacterstring.

CHARFunction

Returnsasinglecharacterfromaspecifiedpositioninacharacterstring.

CHOOSECFunction

Returnsacharactervaluethatrepresentstheresultsofchoosingfromalistofarguments.

CHOOSENFunction

Returnsanumericvaluethatrepresentstheresultsofchoosingfromalistofarguments.

COALESCECFunction

Returnsthefirstnon-missingvaluefromalistofcharacterarguments.

COLLATEFunction

ReturnsacharacterstringinASCIIorEBCDICcollatingsequence.

COMPAREFunction

Returnsthepositionoftheleftmostcharacterbywhichtwostringsdiffer,orreturns0ifthereisnodifference.

COMPBLFunction

Removesmultipleblanksfromacharacterstring.

COMPGEDFunction

Returnsthegeneralizededitdistancebetweentwostrings.

COMPLEVFunction

ReturnstheLevenshteineditdistancebetweentwostrings.

COMPRESSFunction

Returnsacharacterstringwithspecifiedcharactersremovedfromtheoriginalstring.

COUNTFunction

Countsthenumberoftimesthataspecifiedsubstringappearswithinacharacterstring.

COUNTCFunction

Countsthenumberofcharactersinastringthatappearordonotappearinalistofcharacters.

COUNTWFunction

Countsthenumberofwordsinacharacterstring.

DEQUOTEFunction

Removesmatchingquotationmarksfromacharacterstringthatbeginswithaquotationmark,anddeletesallcharacterstotherightoftheclosingquotationmark.

FINDFunction

Searchesforaspecificsubstringofcharacterswithinacharacterstring.

FINDCFunction

Searchesastringforanycharacterinalistofcharacters.

FINDWFunction

Returnsthecharacterpositionofawordinastring,orreturnsthenumberofthewordinastring.

FIRSTFunction

Returnsthefirstcharacterinacharacterstring.

IFCFunction

Returnsacharactervaluebasedonwhetheranexpressionistrue,false,ormissing.

INDEXFunction

Searchesacharacterexpressionforastringofcharacters,andreturnsthepositionofthestring'

sfirstcharacterforthefirstoccurrenceofthestring.

INDEXCFunction

Searchesacharacterexpressionforanyofthespecifiedcharacters,andreturnsthepositionofthatcharacter.

INDEXWFunction

Searchesacharacterexpressionforastringthatisspecifiedasaword,andreturnsthepositionofthefirstcharacterintheword.

LEFTFunction

Left-alignsacharacterstring.

LENGTHFunction

Returnsthelengthofanon-blankcharacterstring,excludingtrailingblanks,andreturns1forablankcharacterstring.

LENGTHCFunction

Returnsthelengthofacharacterstring,includingtrailingblanks.

LENGTHMFunction

Returnstheamountofmemory(inbytes)thatisallocatedforacharacterstring.

LENGTHNFunction

Returnsthelengthofacharacterstring,excludingtrailingblanks.

LOWCASEFunction

Convertsalllettersinanargumenttolowercase.

MD5Function

Returnstheresultofthemessagedigestofaspecifiedstring.

MISSINGFunction

Returnsanumericresultthatindicateswhethertheargumentcontainsamissingvalue.

NLITERALFunction

ConvertsacharacterstringthatyouspecifytoaSASnameliteral.

NOTALNUMFunction

Searchesacharacterstringforanon-alphanumericcharacter,andreturnsthefirstpositionatwhichthecharacterisfound.

NOTALPHAFunction

Searchesacharacterstringforanonalphabeticcharacter,andreturnsthefirstpositionatwhichthecharacterisfound.

NOTCNTRLFunction

Searchesacharacterstringforacharacterthatisnotacontrolcharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.

NOTDIGITFunction

Searchesacharacterstringforanycharacterthatisnotadigit,andreturnsthefirstpositionatwhichthatcharacterisfound.

NOTFIRSTFunction

SearchesacharacterstringforaninvalidfirstcharacterinaSASvariablenameunderVALIDVARNAME=V7,andreturnsthefirstpositionatwhichthatcharacterisfound.

NOTGRAPHFunction

Searchesacharacterstringforanon-graphicalcharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.

NOTLOWERFunction

Searchesacharacterstringforacharacterthatisnotalowercaseletter,andreturnsthefirstpositionatwhichthatcharacterisfound.

NOTNAMEFunction

SearchesacharacterstringforaninvalidcharacterinaSASvariablenameunderVALIDVARNAME=V7,andreturnsthefirstpositionatwhichthatcharacterisfound.

NOTPRINTFunction

Searchesacharacterstringforanonprintablecharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.

NOTPUNCTFunction

Searchesacharacterstringforacharacterthatisnotapunctuation

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 外语学习 > 法语学习

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1