I currently have a dataframe of imported CSV data. It's a list of first and last names, jobs titles, and company name. Each entry is on a separate row. The first and last names, job title, and company name are all capitalized.
Each row is in this format:
First LastTitle, Company
I want to insert a comma delimiter before "Title", so that I can then sort the data into three columns, like the second answer on this quesetion: splitting comma separated mixed text and numeric string with strsplit in R.
Essentially, in this specific case I want to locate the 3rd uppercase letter in each string, and then insert a comma delimiter before it.
This answer shows how to split a string on uppercase letters, but seems to only find the first uppercase letter: Splitting String based on letters case.
Any suggestions are appreciated.