1 Matching Annotations
- May 2020
-
jrnold.github.io jrnold.github.io
-
The words that have seven letters or more are
if we need to view/extract later the words that have at least 7 characters we can:
str_view( stringr::words, "........*", match = T)
adding "*" after the eight "." states that the last "." can be repeated zero or more times.
or
str_view(stringr::words, ".{7,}", match = T)
in both cases we match the words that have at least 7 characters, not only up to the seventh letter
-