wrote functions to split delimited strings and trim leading zeroes, respectively