.retain1stPart {wrMisc} | R Documentation |
Trim character string: keep only text before 'sep'
Description
Trim character string: keep only text before 'sep' (length=1 !)
Usage
.retain1stPart(chr, sep = " = ", offSet = 1)
Arguments
chr |
character vector to be treated |
sep |
(character) saparator |
offSet |
(integer) off-set |
Value
This function returns a modified character vector
See Also
Examples
.retain1stPart("abc = def")
[Package wrMisc version 1.15.1 Index]