Description Usage Arguments Details Value Examples
View source: R/prefix_operation.R
Subtracts the prefix of the word entered as a parameter
1 | substract_prefix(word, prefix)
|
word |
string. The word from which the prefix must be removed. |
prefix |
string. The prefix to be removed from the word. |
subtracts the prefix of the word entered as a parameter and returns the same word without prefix.
returns the word without the prefix.
1 2 3 4 5 | str <- "abcd"
word <- substract_prefix(str, "ab")
column_name <- "R_column"
word <- substract_prefix(column_name, "R_")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.