.retain1stPart | R Documentation |
Trim character string: keep only text before 'sep' (length=1 !)
.retain1stPart(chr, sep = " = ", offSet = 1)
chr |
character vector to be treated |
sep |
(character) saparator |
offSet |
(integer) off-set |
This function returns a modified character vector
substr
.retain1stPart("abc = def")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.