str_right | R Documentation |
Given a character vector, str_right()
returns the right side of a string.
str_right(string, n = 1)
string |
The character from which the right portion will be returned. |
n |
Optional. The number of characters to return from the right side of string. |
A character vector.
str_left()
which extracts characters from the left and str_mid()
which returns a segment of character strings.
str_right("Sale Price")
str_right("Sale Price", n = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.