str(sub(string, start, end) will extract a substring within a string.
Arguments:
str_subset(string, pattern) will return only the strings containing a matched pattern specified by the user.
str_extract(string, pattern) returns the first matched pattern found in a string. Note: to extract all matches within a string, use str_extract_all.
str_match(string, pattern) will return the first matched pattern within a string.
When applied to a string vector, the matches will be returned in a list.
To return all matches in a string instead of the first match only, use str_match_all()