Archive Tag: sas language

How to Detect Special Characters and Remove them in SAS Language

What are the hexadecimal values for special characters in the ASCII table? How to create, identify, replace special characters using SAS functions?

READ MORE
4 Functions to Concatenate Strings Using SAS

The concatenation is about putting pieces of text one after the other in a variable using in SAS double ||, double !! or ‘cat’ functions.

READ MORE
5 SAS Functions to Remove Blanks

You will discover 5 functions to remove blanks from a character variable in SAS languages going from strip, cats, compress,… to regular expressions.

READ MORE
3 Ways to Create a SAS Date / Time

The SAS language uses it’s own time scale. What are SAS date, time and datetime? We will see three options to convert or create these values.

READ MORE
Going from Character to Numeric and Reversly

SAS datasets contain both character and numeric variables. How to create a character variable using a numeric variable and reversely?

READ MORE