I don't know if the question has been asked already, but could not find the right answer. I have strings in a column with countrycodes, countrynames and a date, with no delimiters:
tst <- c("NLNETHERLAND2018-01-19","IRQIRAQ1912-02-28")
How could I split the strings that there are spaces between countrycode en the country name.
Because the countrycode varies in length (can be one character, two or three characters) it is not possible two split based on amount of characters.