split a string and extract the nth string
strsplit2(x, sep = " ", nth = 1)
x
The string to split
sep
The separated character
nth
The nth string to extract
a new string