.trimFromEnd | R Documentation |
Deprecated Version - This function allows trimming/removing redundant text-fragments from end
.trimFromEnd(x, ..., callFrom = NULL, debug = FALSE, silent = TRUE)
x |
character vector to be treated |
... |
more vectors to be treated |
callFrom |
(character) allow easier tracking of messages produced |
debug |
(logical) display additional messages for debugging |
silent |
(logical) suppress messages |
This function returns a modified character vector
trimRedundText
; Inverse : Find/keep common text keepCommonText
; you may also look for related functions in package stringr
txt1 <- c("abcd_ccc","bcd_ccc","cde_ccc")
.trimRight(txt1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.