View source: R/str_extract_char.r
str_extract_char | R Documentation |
Extract a specific character from a string.
str_extract_char(string, char = 1)
string |
A character vector |
char |
A integer single value (default = 1), that will be the character position to be extracted |
A character vector.
str_extract_char(string = "abcdef")
str_extract_char(string = "abcdef", char = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.