Description Usage Arguments Value Examples
View source: R/str-split-twice.R
The function splits any character string at each tab and space and returns all (min_only = FALSE) or only the first (min_only = T) numeric value found in the string.
1 | str_split_twice(char, min_only = TRUE)
|
char |
Character string. |
min_only |
Logical specifying if only the first numeric value ( |
numeric values inside char
string.
1 2 | str_split_twice(char = "Hello 15")
str_split_twice(char = "flag1 15 16\t15", min_only = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.