Transcription of Chapter 1 Character Functions - SAS
{{id}} {{{paragraph}}}
Chapter 1 Character Functions Introduction 3 Functions That Change the Case of Characters 5 UPCASE 6 LOWCASE 7 PROPCASE 9 Functions That Remove Characters from Strings 11 COMPBL 11 COMPRESS 13 Functions That Search for Characters 16 ANYALNUM 17 NOTUPPER 27 ANYALPHA 18 FIND 29 ANYDIGIT 19 FINDC 31 ANYPUNCT 20 INDEX 34 ANYSPACE 21 INDEXC 36 NOTALNUM 24 INDEXW 39 NOTALPHA 25 VERIFY 41 NOTDIGIT 26 Functions That Extract Parts of Strings 43 SUBSTR 43 SUBSTRN 49 Functions That Join Two or More Strings Together 51 CALL CATS 52 CATS 57 CALL CATT 53 CATT 58 CALL CATX 53 CATX 59 CAT 56 2 SAS Functions by Example Functions That Remove Blanks from Strings 61 LEFT 61 TRIMN 66 RIGHT 63 STRIP 68 TRIM 64 Functions That Compare Strings (Exact a)
4 SAS Functions by Example Program 1.2: Running PROC CONTENTS to determine storage lengths PROC CONTENTS DATA=EXAMPLE1 VARNUM; TITLE "PROC CONTENTS for Data Set EXAMPLE1"; RUN; The VARNUM option requests the variables to be in the order that they appear in the SAS data set, rather than the default, alphabetical order. The output is shown next:
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}