Skip to content

SAS Example Code

Examples, Tips & Tricks

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

Tag: Substring

How to Extract Characters from a String in SAS
SAS How To's

How to Extract Characters from a String in SAS

In this article, we discuss how to extract characters from a text string (i.e., a substring). We also show you…
20/11/202120/11/2021 SAS Example Code
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

Search

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