Skip to content

Commit

Permalink
Merge pull request #558 from elenlefoll/patch-1
Browse files Browse the repository at this point in the history
Corrected typo in example command strings.qmd
  • Loading branch information
mine-cetinkaya-rundel authored Jan 15, 2025
2 parents 8e0f35b + 92b7d51 commit 07e1d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/strings.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ see <- function(rx) str_view("abc ABC 123\t.!?\\(){}\n", rx)
Also `str_like()`.

```{r}
str(fruit, "a")
str_detect(fruit, "a")
```
- `str_starts(string, pattern, negate = FALSE)`: Detect the presence of a pattern match at the beginning of a string.
Expand Down

0 comments on commit 07e1d1c

Please sign in to comment.