date_get_part1 function

Split a string based on a pattern and return the first element of the resulting vector.