Skip to main content
HomeR

Course

String Manipulation with stringr in R

IntermediateSkill Level
4.9+
13 reviews
Updated 05/2025
Learn how to pull character strings apart, put them back together and use the stringr package.
Start Course for Free

Included withPremium or Teams

RProgramming4 hours17 videos60 Exercises5,150 XP31,628Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Character strings can turn up in all stages of a data science project. You might have to clean messy string input before analysis, extract data that is embedded in text or automatically turn numeric results into a sentence to include in a report. Perhaps the strings themselves are the data of interest, and you need to detect and match patterns within them. This course will help you master these tasks by teaching you how to pull strings apart, put them back together and use stringr to detect, extract, match and split strings using regular expressions, a powerful way to express patterns.

Prerequisites

Intermediate R
1

String basics

Start Chapter
2

Introduction to stringr

Start Chapter
3

Pattern matching with regular expressions

Start Chapter
4

More advanced matching and manipulation

Start Chapter
5

Case studies

Start Chapter
String Manipulation with stringr in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll Now

Don’t just take our word for it

*4.9
from 13 reviews
92%
8%
0%
0%
0%
  • Zvart
    3 days

  • Yoary Leslie
    17 days

    its good, I learn a lot of new things

  • Jan
    17 days

  • Karolina
    23 days

  • Martin
    about 2 months

  • Sofía
    2 months

Zvart

"its good, I learn a lot of new things"

Yoary Leslie

Jan

Join over 17 million learners and start String Manipulation with stringr in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.