diff --git a/prog-strings.qmd b/prog-strings.qmd index 60a8f7d..4763f46 100644 --- a/prog-strings.qmd +++ b/prog-strings.qmd @@ -184,7 +184,7 @@ has_noun |> (Unsurprisingly, our heuristic for detecting nouns is poor, and also picks up adjectives like smooth and parked.) -## Spitting +## Splitting Use `str_split()` to split a string up into pieces. For example, we could split sentences into words: