i need i way to subtract a part of a string from one variable to create a new variable
i have e.g.
df <- c(" 3 Rue d Argentine 16th arr 75116 Paris France",
"5 Passage Ruelle 18th arr 75018 Paris France", " 1 Avenue Carnot 17th arr 75017 Paris France", "Bis Rue De Vaugirard 6th arr 75006 Paris France", "6 Impasse Marteau 18th arr 75018 Paris France" ," 1 Place De La Sorbonne 5th arr 75005 Paris France", "1 Place Vend me 1st arr 75001 Paris France")
what i want to have is a new variable that subtract the arrondissements so my new dataframe becomes
adress: " 3 Rue d Argentine 16th arr 75116 Paris France",
"5 Passage Ruelle 18th arr 75018 Paris France", " 1 Avenue Carnot 17th arr 75017 Paris France", "Bis Rue De Vaugirard 6th arr 75006 Paris France", "6 Impasse Marteau 2nd arr 75018 Paris France" ," 1 Place De La Sorbonne 5th arr 75005 Paris France", "1 Place Vend me 1st arr 75001 Paris France"
arr: "16th", "18th", "17th", "6th", "2nd", "5th", "1st"
etc. can anybody help me on how to do this in R ?