Skip to content

SAS Example Code

Examples, Tips & Tricks

  • How To’s
  • Functions
  • Statements
  • Formats
  • Macros
  • Data Visualisation
  • About

Tag: Function

SAS Functions

Extract a Substring in SAS with SUBSTR

In SAS you can use the SUBSTR function to read a part of a string. You indicate the input string,…
12/06/202012/06/2020 SAS Example Code
SAS Functions

Find a Substring in SAS with the FIND function

In SAS you can use the function FIND to check whether a string contains a combination of characters (or a…
12/06/202012/06/2020 SAS Example Code
SAS Functions

How to Easily Replace Characters in a String in SAS

In this article, we answer the question of how to replace characters in a SAS string? How to Replace a…
11/06/202010/07/2021 SAS Example Code
SAS Functions

How to Quickly Convert DateTime to Date variable

In SAS you can store dates as a DateTime variable or a Date variable. However, you can’t compare these two…
08/06/202008/11/2020 SAS Example Code
SAS Functions

Convert a Date into a DateTime Variable

Convert a Date into a DateTime Variable In SAS exist Date and DateTime variables. If you want to compare them,…
07/06/202015/06/2020 SAS Example Code

Posts navigation

Newer Posts

Search

  • How To’s
  • Functions
  • Statements
  • Formats
  • Macros
  • Data Visualisation
  • About
  • Privacy Policy
  • Advertise
WordPress Theme: BlogGrid by TwoPoints.