Answer Posted / Amit Srivastava
stringr is a package for working with strings in R. Here are a few examples: nn- `str_to_lower()` : Converts all characters to lowercase.n- `str_replace_all()` : Replaces all occurrences of a pattern.n- `str_trim()` : Removes leading and trailing whitespace.n- `str_extract()` : Extracts a specified substring.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers