Transcription of SUGI 25: The SAS SUBSTR Function - A Beginner's Tutorial
{{id}} {{{paragraph}}}
Paper 88-25 The SAS SUBSTR Function A beginner s TutorialPaul D. McDonald, SPIKE ware, Inc., Schaumburg, ILABSTRACTThis paper is written for SAS Users and SAS Programmers of anyexperience level. It reviews the syntax, basic applications, andtroubleshooting of theSUBSTRData Step SAS data step functionSUBSTR(commonly pronounced sub-string ) Function is used to work with a specific position or positionsof characters within a defined character variable. The functionfocuses on a portion of a string and can go on either side of the = sign in a data step has three arguments: SUBSTR (SOURCE, POSITION, N)The Function returnsNcharacters, beginning at character numberPOSITION from the stringSOURCE.
Paper 88-25 The SAS SUBSTR Function –A Beginner’s Tutorial Paul D. McDonald, SPIKEware, Inc., Schaumburg, IL ABSTRACT This paper is written for SAS Users and SAS Programmers of any
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}