diff --git a/R/split.R b/R/split.R index c29e5c52..a74deae1 100644 --- a/R/split.R +++ b/R/split.R @@ -36,7 +36,7 @@ #' str_split(fruits, " and ") #' str_split(fruits, " and ", simplify = TRUE) #' -#' # If you want to split a single string, use `str_split1` +#' # If you want to split a single string, use `str_split_1` #' str_split_1(fruits[[1]], " and ") #' #' # Specify n to restrict the number of possible matches diff --git a/man/str_split.Rd b/man/str_split.Rd index 337df2bd..943d3734 100644 --- a/man/str_split.Rd +++ b/man/str_split.Rd @@ -80,7 +80,7 @@ fruits <- c( str_split(fruits, " and ") str_split(fruits, " and ", simplify = TRUE) -# If you want to split a single string, use `str_split1` +# If you want to split a single string, use `str_split_1` str_split_1(fruits[[1]], " and ") # Specify n to restrict the number of possible matches