Split a string based on a pattern and return the first element of the resulting vector.
Source:R/utils.R
date_get_part1.RdSplit a string based on a pattern and return the first element of the resulting vector.
Value
A <character> with the first element of the vector returned
by the strsplit() function.