Created
February 17, 2020 01:31
-
-
Save selva86/a2e22774345fc22798197a858bd87c50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. You have a vector which contains four coupons codes for Asian flights. | |
# Replace all 'asia' with 'europe' | |
flight_coupons <- c("asiafly", "asiaflynow", "asiaflymiles", "asiamarch") | |
# 2. Extract the first names from the emails. | |
emails <- c("vito.corleone@apple.com", "michael.corleone@reddit.com") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment